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

Method comment

src/cursor/find_cursor.ts:328–332  ·  view source on GitHub ↗

* Add a comment to the cursor query allowing for tracking the comment in the log. * * @param value - The comment attached to this query.

(value: string)

Source from the content-addressed store, hash-verified

326 * @param value - The comment attached to this query.
327 */
328 comment(value: string): this {
329 this.throwIfInitialized();
330 this.findOptions.comment = value;
331 return this;
332 }
333
334 /**
335 * Set a maxAwaitTimeMS on a tailing cursor query to allow to customize the timeout value for the option awaitData (Only supported on MongoDB 3.2 or higher, ignored otherwise)

Callers 4

makeCursorFunction · 0.80
cursor.test-d.tsFile · 0.80
websupport.jsFile · 0.80

Calls

no outgoing calls

Tested by 1

makeCursorFunction · 0.64