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

Function close

src/cursor/abstract_cursor.ts:644–646  ·  view source on GitHub ↗

* Frees any client-side resources used by the cursor.

(options?: { timeoutMS?: number })

Source from the content-addressed store, hash-verified

642 * Frees any client-side resources used by the cursor.
643 */
644 async close(options?: { timeoutMS?: number }): Promise<void> {
645 await this.cleanup(options?.timeoutMS);
646 }
647
648 /**
649 * Returns an array of documents. The caller is responsible for making sure that there

Callers

nothing calls this directly

Calls 7

executeOperationFunction · 0.90
squashErrorFunction · 0.90
endSessionMethod · 0.80
inTransactionMethod · 0.80
cleanupMethod · 0.45

Tested by

no test coverage detected