* 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)
| 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) |
no outgoing calls