NAME

DBIx::DataModel::Schema::ResultAs - Parent class for result kinds

DESCRIPTION

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.

METHODS

Subclasses should implement

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.