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

Method batchSize

src/cursor/run_command_cursor.ts:128–132  ·  view source on GitHub ↗

Unsupported for RunCommandCursor: batchSize must be configured directly on command document

(_: number)

Source from the content-addressed store, hash-verified

126
127 /** Unsupported for RunCommandCursor: batchSize must be configured directly on command document */
128 public override batchSize(_: number): never {
129 throw new MongoAPIError(
130 'batchSize must be configured on the command document directly, to configure getMore.batchSize use cursor.setBatchSize()'
131 );
132 }
133
134 /** @internal */
135 private db: Db;

Callers 8

find.test.tsFile · 0.45
insert.test.tsFile · 0.45
makeCursorFunction · 0.45
cursor.test-d.tsFile · 0.45

Calls

no outgoing calls

Tested by 1

makeCursorFunction · 0.36