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

Method runCursorCommand

src/db.ts:618–620  ·  view source on GitHub ↗

* A low level cursor API providing basic driver functionality: * - ClientSession management * - ReadPreference for server selection * - Running getMores automatically when a local batch is exhausted * * @param command - The command that will start a cursor on the server. * @param o

(command: Document, options?: RunCursorCommandOptions)

Source from the content-addressed store, hash-verified

616 * @param options - Configurations for running the command, bson options will apply to getMores
617 */
618 runCursorCommand(command: Document, options?: RunCursorCommandOptions): RunCommandCursor {
619 return new RunCommandCursor(this, command, options);
620 }
621}

Callers 3

operations.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected