Skip to content

routier-collection


routier-collection / plugins/mongodb/src / MongoFindOptions

Type Alias: MongoFindOptions

MongoFindOptions = object

Defined in: plugins/mongodb/src/driver.ts:14

How a query should be shaped by the server rather than in memory.

Properties

sort?

readonly optional sort: Readonly<Record<string, 1 | -1>>

Defined in: plugins/mongodb/src/driver.ts:15


skip?

readonly optional skip: number

Defined in: plugins/mongodb/src/driver.ts:16


limit?

readonly optional limit: number

Defined in: plugins/mongodb/src/driver.ts:17

Released under the MIT License.