The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mandel::Iterator - An object iterating over a collection cursor

SYNOPSIS

DESCRIPTION

ATTRIBUTES

cursor

An object we can do next() on. Normally a Mango::Cursor object.

model

An object that inherit from Mandel::Model.

METHODS

next

  $self = $self->next(sub { my($self, $err, $obj) = @_; ... });

Fetch next document.

rewind

  $self = $self->rewind($cb);

Rewind cursor and kill it on the server

SEE ALSO

Mojolicious, Mango, Mandel

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org