DOKK / manpages / debian 11 / libmongoc-doc / mongoc_cursor_get_batch_size.3.en
MONGOC_CURSOR_GET_BATCH_SIZE(3) libmongoc MONGOC_CURSOR_GET_BATCH_SIZE(3)

mongoc_cursor_get_batch_size - mongoc_cursor_get_batch_size()

uint32_t
mongoc_cursor_get_batch_size (const mongoc_cursor_t *cursor);


cursor: A mongoc_cursor_t.

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 Cursor Batches in the MongoDB Manual.

MongoDB, Inc

2017-present, MongoDB, Inc

June 4, 2021 1.17.6