mongodb/Database
Victor Denisov 5e72c8ad61 Handle the case when mongodb returns less documents than cursor requested
If we request certain amount of values from a cursor the mongo db server can
return less than requested. So, if we provide -100000 then mongodb may
return 97899 and close the cursor.

Instead of relying on negative values this implementation will use only
positive numbers and will close the cursor itself as soon as the driver
receives enough results.

It fixes the issue #24 from github.
2015-06-19 18:23:44 -07:00
..
MongoDB Handle the case when mongodb returns less documents than cursor requested 2015-06-19 18:23:44 -07:00
MongoDB.hs Make examples compilable 2014-07-07 09:05:03 +04:00