DBIx::QueryByName::Result::Iterator - Parent class to all iterators


DBIx-QueryByName documentation  | view source Contained in the DBIx-QueryByName distribution.

Index


NAME

Top

DBIx::QueryByName::Result::Iterator - Parent class to all iterators

DESCRIPTION

Top

Provides an iterator-like api to a DBI statement handle. DO NOT USE DIRECTLY!

INTERFACE

Top

new($query,$sth)
$i->next()

Returns the next row fetched by this iterator, of undef if no more rows are to be fetched.

$i->to_list()

Returns all items from the iterator as a list


DBIx-QueryByName documentation  | view source Contained in the DBIx-QueryByName distribution.