Meerkat::Cursor - Wrap MongoDB::Cursor to inflate data to objects
version 0.016
use Meerkat::Cursor;
When a Meerkat::Collection method returns a query cursor, it provides this proxy for a MongoDB::Cursor. See documentation of that module for usage information.
The only difference is that the next method will return objects of the class associated with the originating Meerkat::Collection.
next
A MongoDB::Cursor object
A Meerkat::Collection used for inflating results.
David Golden <dagolden@cpan.org>
This software is Copyright (c) 2013 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Meerkat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Meerkat
CPAN shell
perl -MCPAN -e shell install Meerkat
For more information on module installation, please visit the detailed CPAN module installation guide.