batchSize property

int? batchSize
final

The number of documents to return in the first batch. Defaults to 101. A batchSize of 0 means that the cursor will be established, but no documents will be returned in the first batch. Unlike the previous wire protocol version, a batchSize of 1 for the find command does not close the cursor

Implementation

final int? batchSize;