mongoc_cursor_set_batch_size
mongoc_cursor_set_batch_size()
- Provided by: libmongoc-doc (Version: 1.9.2+dfsg-1build1)
- Source: libmongoc
- Report a bug
mongoc_cursor_set_batch_size()
void mongoc_cursor_set_batch_size (mongoc_cursor_t *cursor, uint32_t batch_size);
Limits the number of documents returned in one batch. Each batch requires a round trip to the server. If the batch size is zero, the cursor uses the server-defined maximum batch size.
See Cursor Batches in the MongoDB Manual.
MongoDB, Inc
2018, MongoDB, Inc