MCPcopy
hub / github.com/mongodb/node-mongodb-native / setBatchSize

Method setBatchSize

src/cursor/run_command_cursor.ts:94–97  ·  view source on GitHub ↗

* Controls the `getMore.batchSize` field * @param batchSize - the number documents to return in the `nextBatch`

(batchSize: number)

Source from the content-addressed store, hash-verified

92 * @param batchSize - the number documents to return in the `nextBatch`
93 */
94 public setBatchSize(batchSize: number): this {
95 this.getMoreOptions.batchSize = batchSize;
96 return this;
97 }
98
99 /** Unsupported for RunCommandCursor */
100 public override clone(): never {

Callers 3

operations.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected