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

Method max

src/cursor/find_cursor.ts:229–233  ·  view source on GitHub ↗

* 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)

Source from the content-addressed store, hash-verified

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.

Callers 15

searchtools.jsFile · 0.80
YeFunction · 0.80
QeFunction · 0.80
uFunction · 0.80
jquery.jsFile · 0.80
zipFunction · 0.80
cursor.test-d.tsFile · 0.80
xorFunction · 0.80
lengthMethod · 0.80
VeFunction · 0.80
VeFunction · 0.80
VeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected