uint32_t
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_CURSOR_GET_BATCH_SIZE(3)
Description
Retrieve the cursor's batch size, the maximum number of documents returned per round trip to the server.
A batch size of zero means the cursor accepts the server's maximum batch size.
See CursorBatches in the MongoDB Manual.
Parameters
• cursor: A mongoc_cursor_t.
Synopsis
uint32_t
mongoc_cursor_get_batch_size (const mongoc_cursor_t *cursor);
