NAME

SQL::Translator::Producer::ClassDBI - create Class::DBI classes from schema

SYNOPSIS

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.

AUTHORS

Allen Day <allenday@ucla.edu>, Ying Zhang <zyolive@yahoo.com>, Ken Youens-Clark <kclark@cpan.org>.