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

Method setComment

src/cursor/run_command_cursor.ts:76–79  ·  view source on GitHub ↗

* Controls the `getMore.comment` field * @param comment - any BSON value

(comment: any)

Source from the content-addressed store, hash-verified

74 * @param comment - any BSON value
75 */
76 public setComment(comment: any): this {
77 this.getMoreOptions.comment = comment;
78 return this;
79 }
80
81 /**
82 * Controls the `getMore.maxTimeMS` field. Only valid when cursor is tailable await

Callers 2

operations.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected