NAME

Teng::Iterator - Iterator for Teng

DESCRIPTION

This is an iterator class for Teng.

SYNOPSIS

my $itr = Your::Model->search('user',{});

my @rows = $itr->all; # get all rows

# do iteration
while (my $row = $itr->next) {
  ...
}

METHODS

$itr = Teng::Iterator->new()

Create new Teng::Iterator's object. You may not call this method directly.

my $row = $itr->next();

Get next row data.

my @ary = $itr->all;

Get all row data in array.

$itr->suppress_object_creation($bool)

Set row object creation mode.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 77:

=over without closing =back