mongodb/mongodb-erlang — pull request #3 by superbobry (2012-03-16 07:36:55+00:00)
Title: Fixed typing and added 'mongo:take' for consistency

Hello,

* Current version of `mongodb-erlang` [breaks](http://erlang.org/pipermail/erlang-bugs/2012-March/002804.html) dialyzer, which has been reported to *erlang-bugs* but hasn't been fixed yet.
* There's no way to fetch a fixed number of documents from a collection, so I added `mongo:take/2` which puts an upper bound on the number of documents returned by the cursor.

Sergei