|
NAMEDBIx::Skinny::Iterator DESCRIPTIONskinny iteration class. SYNOPSIS my $itr = Your::Model->search('user',{});
$itr->count; # show row counts
my $row = $itr->first; # get first row
$itr->reset; # reset itarator position
my @rows = $itr->all; # get all rows
# do iteration
while (my $row = $itr->next) { }
# no cache row object (save memories)
$itr->cache(0);
while (my $row = $itr->next) { }
$itr->reset->first; # Can't fetch row!
METHODS
POD ERRORSHey! The above document had some coding errors, which are explained below:
|