NAME

DBIx::Skinny::Iterator

DESCRIPTION

skinny 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 potision

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

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

# no cache row object (save memories)
$itr->no_cache;
while (my $row = $itr->next) { }
$itr->reset->first;  # Can't fetch row!