mongodb/Database/MongoDB
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
..
Internal Remove applicative import warnings in GHC 7.10.1. 2015-05-15 15:26:34 +02:00
Admin.hs Remove applicative import warnings in GHC 7.10.1. 2015-05-15 15:26:34 +02:00
Connection.hs Remove applicative import warnings in GHC 7.10.1. 2015-05-15 15:26:34 +02:00
Query.hs Handle the case when mongodb returns less documents than cursor requested 2015-06-19 18:23:44 -07:00