++ed by:
NEYASOV AWNCORP HRUPP

3 PAUSE users
2 non-PAUSE users.

Jan Henning Thorsen

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