-
Type: Improvement
-
Resolution: Gone away
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: libmongoc
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.
- related to
-
CDRIVER-1054 Support negative cursor limit for single-batch OP_QUERY and find command results
- Closed