PaginationResult
PaginationResult<
T> =ConvexPaginationResult<T> &object
Defined in: packages/core/src/db/types.ts:239
totalDocs / totalDocsCapped are only present on the first page
(cursor: null) of a call that requested paginationOpts.totalDocs: true — find / search count at most admin.view.state.countLimit + 1
rows (default 10000) instead of .collect()-ing every matching row
(Design Decision 35). totalDocsCapped: true means the real count is AT
LEAST totalDocs — the UI renders “Showing 25 of 10,000+” rather than an
exact number past the cap.
Type Declaration
Section titled “Type Declaration”totalDocs?
Section titled “totalDocs?”
optionaltotalDocs?:number
totalDocsCapped?
Section titled “totalDocsCapped?”
optionaltotalDocsCapped?:boolean
Type Parameters
Section titled “Type Parameters”T