mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
072cd9b8fb
Dynamic definition of Class::DBI sub classes. PR: 54719 Submitted by: me Approved by: demon (mentor)
16 lines
524 B
Plaintext
16 lines
524 B
Plaintext
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: http://search.cpan.org/dist/Class-DBI-Loader/
|