Catalyst::Model::CDBI - CDBI Model Class
# lib/MyApp/Model/CDBI.pm package MyApp::Model::CDBI; use base 'Catalyst::Model::CDBI'; __PACKAGE__->config( dsn => 'dbi:Pg:dbname=myapp', password => '', user => 'postgres', options => { AutoCommit => 1 }, relationships => 1 ); 1; # As object method $c->comp('MyApp::Model::CDBI::Table')->search(...); # As class method MyApp::Model::CDBI::Table->search(...);
This is the Class::DBI, Class::DBI::Loader model class.
Class::DBI
Class::DBI::Loader
Catalyst, Class::DBI
Sebastian Riedel, sri@cpan.org
sri@cpan.org
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Model::CDBI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Model::CDBI
CPAN shell
perl -MCPAN -e shell install Catalyst::Model::CDBI
For more information on module installation, please visit the detailed CPAN module installation guide.