Details
-
Improvement
-
Resolution: Unresolved
-
Minor - P4
-
None
-
None
-
Major Change
Description
Since the beginning, mongoc_collection_find's "limit" parameter has been unsigned. Negative limits are a useful way to tell the server to send a single batch and close the cursor; there should be a way to communicate a negative limit to the server via the C Driver.
This is an API break; wait for 2.0.
Update the doc for mongoc_cursor_set_limit.
Attachments
Issue Links
- related to
-
CDRIVER-1054 Support negative cursor limit for single-batch OP_QUERY and find command results
-
- Closed
-