NAME
Teng::Iterator
DESCRIPTION
Teng iteration class.
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.
- $itr->next
-
get next row data.
- $itr->all
-
get all row data in array.
- $itr->suppress_objects($mode)
-
set row object creation mode.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 77:
=over without closing =back