MongoDBx::Tiny::Cursor - wrapper class of MongoDB::Cursor
$cursor = MongoDBx::Tiny::Cursor->new( tiny => $tiny, c_name => $c_name,cursor => $cursor );
@list = $cursor->all;
@list = $cursor->array; $list = $cursor->array;
# get next object $object = $cursor->next;
[EXPERIMENTAL] $first_object = $cursor->first; # just call next..
Naoto ISHIKAWA, <toona at seesaa.co.jp>
<toona at seesaa.co.jp>
Copyright 2013 Naoto ISHIKAWA.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install MongoDBx::Tiny, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MongoDBx::Tiny
CPAN shell
perl -MCPAN -e shell install MongoDBx::Tiny
For more information on module installation, please visit the detailed CPAN module installation guide.