董义 > SQL-Translator-Producer-DBIx-Class-File-Simple > SQL::Translator::Producer::DBIx::Class::File::Simple

Download:
SQL-Translator-Producer-DBIx-Class-File-Simple-0.2.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.2   Source  

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.

syntax highlighting: