DBIx::DataModel::Statement - DBIx::DataModel statement objects
The purpose of a statement object is to retrieve rows from the database and bless them as objects of appropriate classes.
Internally the statement builds and then encapsulates a DBI statement handle (sth).
DBI
The design principles for statements are described in the DESIGN section of the manual (purpose, lifecycle, etc.).
my $statement = DBIx::DataModel::Statement->new($connected_source, %options);
This is the statement constructor; $connected_source is an instance of DBIx::DataModel::ConnectedSource. If present, %options are delegated to the refine() method.
$connected_source
%options
Explicit calls to the statement constructor are exceptional; the usual way to create a statement is through ConnectedSource::select().
The following methods or functions are used internally by this module and should be considered as reserved names, not to be redefined in subclasses :
To install DBIx::DataModel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::DataModel
CPAN shell
perl -MCPAN -e shell install DBIx::DataModel
For more information on module installation, please visit the detailed CPAN module installation guide.