DBIx::DataModel::Schema::ResultAs - Parent class for result kinds
This is the mother class for all subclasses implementing kinds of results to the select() call, as requested by the -result_as argument. See "select()" in DBIx::DataModel::Doc::Reference.
select()
-result_as
Subclasses should implement
new()
The constructor
get_result()
$result = $subclass->new(...)->get_result($statement);
The method receives a reference to a DBIx::DataModel::Statement; calls like $statement->header and $statement->next may be used to build the expected result.
$statement->header
$statement->next
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.