mongoc_cursor_get_batch_size man page

mongoc_cursor_get_batch_size() — 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.

Synopsis

uint32_t
mongoc_cursor_get_batch_size (const mongoc_cursor_t *cursor);

Parameters

cursor
A mongoc_cursor_t

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

Colophon

This page is part of MongoDB C Driver. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Info

2016‐10‐20 MongoDB C Driver