SQL::Translator::Producer::ClassDBI(3) create Class::DBI classes from schema


Use this producer as you would any other from SQL::Translator. See SQL::Translator for details.

This package uses 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 Class::DBI for details on how this works.


Allen Day <[email protected]>, Ying Zhang <z[email protected]>, Ken Youens-Clark <[email protected]>.