ad4f267b7a
search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
15 lines
521 B
Text
15 lines
521 B
Text
Class::DBI::Loader automate the definition of Class::DBI sub-classes. scan
|
|
table schemas and setup columns, primary key.
|
|
|
|
class names are defined by table names and namespace option.
|
|
|
|
+-----------+-----------+-----------+
|
|
| table | namespace | class |
|
|
+-----------+-----------+-----------+
|
|
| foo | Data | Data::Foo |
|
|
| foo_bar | | FooBar |
|
|
+-----------+-----------+-----------+
|
|
|
|
Class::DBI::Loader supports MySQL, Postgres and SQLite.
|
|
|
|
WWW: https://metacpan.org/release/Class-DBI-Loader
|