DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/query-db-collection/interfaces/CursorPagerOptions.md
CursorPagerOptions
Defined in: packages/query-db-collection/src/cursor-pagination.ts:10
Type Parameters#
T#
T
Properties#
fetchPage()#
ts
fetchPage: (cursor, signal) => Promise<CursorPage<T>>;Defined in: packages/query-db-collection/src/cursor-pagination.ts:14
Parameters#
cursor#
string | undefined
signal#
AbortSignal
Returns#
Promise<CursorPage<T>>
gcTime?#
ts
optional gcTime: number;Defined in: packages/query-db-collection/src/cursor-pagination.ts:21
Query's inactive cache lifetime. Defaults to the QueryClient's setting.
queryClient#
ts
queryClient: QueryClient;Defined in: packages/query-db-collection/src/cursor-pagination.ts:11
queryKey#
ts
queryKey: readonly unknown[];Defined in: packages/query-db-collection/src/cursor-pagination.ts:13
Dedicated infinite-query key: include the source, filters and order, not the window.
staleTime?#
ts
optional staleTime: number;Defined in: packages/query-db-collection/src/cursor-pagination.ts:19
Query's freshness interval. Defaults to the QueryClient's setting.