Table of Contents

Method SetBatchSize

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

SetBatchSize(int)

Sets the batch size (the number of documents returned per batch).

public virtual MongoCursor SetBatchSize(int batchSize)

Parameters

batchSize int

The number of documents in each batch.

Returns

MongoCursor

The cursor (so you can chain method calls to it).