I've introduced the notion of limit to the MongoTalk driver (see the
MongoTalk repo).
If someone (Nico, Esteban?) could have a look at the changes it would be
great. The test case is overly simplistic but it should illustrate the
point.
Next on my list: numberToSkip[1]. With "limit" and "numberToSkip", we
should be able to have something like pagination easily.
Please stop me if none of these changes makes sense ;)
[1]
http://www.mongodb.org/display/DOCS/Mongo+Wire+Protocol#MongoWireProtocol-OPQUERY