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

Method constructor

src/cursor/run_command_cursor.ts:138–142  ·  view source on GitHub ↗

@internal

(db: Db, command: Document, options: RunCursorCommandOptions = {})

Source from the content-addressed store, hash-verified

136
137 /** @internal */
138 constructor(db: Db, command: Document, options: RunCursorCommandOptions = {}) {
139 super(db.client, ns(db.namespace), options);
140 this.db = db;
141 this.command = Object.freeze({ ...command });
142 }
143
144 /** @internal */
145 protected async _initialize(session: ClientSession): Promise<InitialCursorResponse> {

Callers

nothing calls this directly

Calls 1

nsFunction · 0.90

Tested by

no test coverage detected