| Catalyst-Enzyme documentation | view source | Contained in the Catalyst-Enzyme distribution. |
Catalyst::Helper::Model::Enzyme::CDBI - Helper for Catalyst::Enzyme CDBI Models
script/create.pl model CDBI Enzyme::CDBI dsn user password
Helper for Enzyme::Model::CDBI Model.
Reads the database and makes a main model class as well as placeholders for each table.
Makes tests for the CDBI Model.
Return array with the default column names suitable for an object in model $pkg.
This is all column names, except PK columns.
Return name of the probable main column for Model $pkg.
Default: name or title or something "name*" or "*name" or "*name*" or MAIN_COLUMN.
Catalyst::Enzyme, Catalyst::Test, Catalyst::Helper, Catalyst::Helper::Model::CDBI
Johan Lindstrom <johanl ÄT DarSerMan.com>
I stole the _entire_ Catalyst::Helper::Model::CDBI since the Catalyst::Helper currently doesn't allow me to override only the template contents and I wanted to get this out the door. I'd like to subclass it though, that would be nice.
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
[% class %] - Enzyme CDBI Model Component
See [% app %]
Enzyme CDBI Model Component.
[% author %]
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
[% tableclass %] - CDBI Table Class
See [% app %]
CDBI Table Class with Enzyme CRUD configuration.
[% author %]
This library is free software . You can redistribute it and/or modify it under the same terms as perl itself.
| Catalyst-Enzyme documentation | view source | Contained in the Catalyst-Enzyme distribution. |