CatalystX::CRUD::Model::DBIC - DBIx::Class CRUD
package MyApp::Model::Foo; use base qw( CatalystX::CRUD::Model::DBIC ); __PACKAGE__->config( resultset_opts => { join => [ 'bar' ], prefetch => [ 'bar' ] }, moniker => 'Foo', schema_class => 'MyDB::Main', connect_info => [ 'dbi:SQLite:' . MyApp->path_to('my_foo.db') ], ); 1;
CatalystX::CRUD::Model::DBIC is a CatalystX::CRUD implementation for DBIx::Class. See the CatalystX::CRUD documentation.
Only new or overridden methods are documented here.
Initialize the class at application start-up.
We implement new() instead of Xsetup() because of idiosyncracies of NEXT.
Returns a new moniker() class object. @params are passed directly to the schema()'s new() method.
@params are passed directly to the find() method of schema().
Create a query from the current request suitable for search(), count() or iterator().
If not present, query will default to the return value of make_query().
Returns an array or arrayref of CatalystX::CRUD::Object::DBIC objects depending on context.
Peter Karman, <karman at cpan.org>
<karman at cpan.org>
Please report any bugs or feature requests to bug-catalystx-crud-model-dbic at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CatalystX-CRUD-Model-DBIC. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-catalystx-crud-model-dbic at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc CatalystX::CRUD::Model::DBIC
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/CatalystX-CRUD-Model-DBIC
CPAN Ratings
http://cpanratings.perl.org/d/CatalystX-CRUD-Model-DBIC
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=CatalystX-CRUD-Model-DBIC
Search CPAN
http://search.cpan.org/dist/CatalystX-CRUD-Model-DBIC
Copyright 2007 Peter Karman, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install CatalystX::CRUD::Model::DBIC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CatalystX::CRUD::Model::DBIC
CPAN shell
perl -MCPAN -e shell install CatalystX::CRUD::Model::DBIC
For more information on module installation, please visit the detailed CPAN module installation guide.