Skip to content

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.

optional totalDocs?: number

optional totalDocsCapped?: boolean

T