++ed by:
KEEDI AWNCORP PERLANCAR

3 PAUSE users
7 non-PAUSE users.

Laurent Dami
and 1 contributors

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

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.