function useLiveInfiniteQuery<TResult, TKey, TUtils>(liveQueryCollection, config): UseLiveInfiniteQueryReturn<any>;Defined in: useLiveInfiniteQuery.ts:116
Create an infinite query using a query function with live updates.
Uses utils.setWindow() to dynamically adjust the limit/offset window without recreating the live query collection on each page change.
TResult extends object
TKey extends string | number
TUtils extends Record<string, any>
Collection<TResult, TKey, TUtils, StandardSchemaV1<unknown, unknown>, TResult> & NonSingleResult
UseLiveInfiniteQueryConfig<any>
Configuration including pageSize and getNextPageParam
UseLiveInfiniteQueryReturn<any>
Object with pages, data, and pagination controls
function useLiveInfiniteQuery<TContext>(
queryFn,
config,
deps?): UseLiveInfiniteQueryReturn<TContext>;Defined in: useLiveInfiniteQuery.ts:126
Create an infinite query using a query function with live updates.
Uses utils.setWindow() to dynamically adjust the limit/offset window without recreating the live query collection on each page change.
TContext extends Context
(q) => QueryBuilder<TContext>
Query function that defines what data to fetch. Must include .orderBy() for setWindow to work.
UseLiveInfiniteQueryConfig<TContext>
Configuration including pageSize and getNextPageParam
unknown[]
Deprecated array of dependencies that trigger query re-execution when changed
UseLiveInfiniteQueryReturn<TContext>
Object with pages, data, and pagination controls