* Set the cursor max * * @param max - Specify a $max value to specify the exclusive upper bound for a specific index in order to constrain the results of find(). The $max specifies the upper bound for all keys of a specific index in order.
(max: Document)
| 227 | * @param max - Specify a $max value to specify the exclusive upper bound for a specific index in order to constrain the results of find(). The $max specifies the upper bound for all keys of a specific index in order. |
| 228 | */ |
| 229 | max(max: Document): this { |
| 230 | this.throwIfInitialized(); |
| 231 | this.findOptions.max = max; |
| 232 | return this; |
| 233 | } |
| 234 | |
| 235 | /** |
| 236 | * Set the cursor returnKey. |