Skip to content

FindOptions

Defined in: packages/client/src/types.ts:94

optional batchSize?: number

Defined in: packages/client/src/types.ts:103

Documents per request (1–1000, default 1000).


optional limit?: number

Defined in: packages/client/src/types.ts:99

Total documents to return (all matching ones when not set).


optional populate?: string[]

Defined in: packages/client/src/types.ts:101

Link fields to replace with the linked documents.


optional projection?: Projection

Defined in: packages/client/src/types.ts:95


optional readConcern?: "fresh" | "local"

Defined in: packages/client/src/types.ts:86

“fresh” (default) checks Drive for edits made in the app (at most every 5 s); “local” answers from the server’s copy at once (may be a few seconds behind the app).

ReadOptions.readConcern


optional skip?: number

Defined in: packages/client/src/types.ts:97


optional sort?: Sort

Defined in: packages/client/src/types.ts:96

Made by Faeiz Furqan