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
AUTHOR
Jan Henning Thorsen - jhthorsen@cpan.org