NAME
SQL::Translator::Producer::DBIx::Class::File::Simple - DBIx::Class file producer
SYNOPSIS
use SQL::Translator;
my $t = SQL::Translator->new( parser => '...',
producer => 'DBIx::Class::File::Simple',
no_comments => 0 );
print $translator->translate( $file );
Or use it as command:
sqlt -f DBI --dsn $dsn --db-user $user --db-password $pass -t DBIx::Class::File::Simple --no-comments --prefix=$prefix > $tofile
DESCRIPTION
Creates a DBIx::Class::Schema for use with DBIx::Class
IF no_comments == 0,it won't print detail for columns,whereas if no_comments == 1 ,it will. For most cases,we need not those detail information.