SQL::Translator::Producer::ClassDBI - create Class::DBI classes from schema |
SQL::Translator::Producer::ClassDBI - create Class::DBI classes from schema
Use this producer as you would any other from SQL::Translator. See the SQL::Translator manpage for details.
This package utilizes SQL::Translator's formatting methods
format_package_name(), format_pk_name(), format_fk_name(), and
format_table_name()
as it creates classes, one per table in the schema
provided. An additional base class is also created for database connectivity
configuration. See the Class::DBI manpage for details on how this works.
Allen Day <allenday@ucla.edu>, Ying Zhang <zyolive@yahoo.com>, Ken Y. Clark <kclark@cpan.org>.
SQL::Translator::Producer::ClassDBI - create Class::DBI classes from schema |