DB Docs
Getting Started
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/framework/vue/reference/interfaces/UseLiveInfiniteQueryReturn.md
UseLiveInfiniteQueryReturn
Defined in: useLiveInfiniteQuery.ts:35
The status and flag refs every useLiveQuery result has.
Extends#
Type Parameters#
TContext#
TContext extends Context & NonSingleResult
Properties#
collection#
ts
collection: ComputedRef<Collection<{ [K in string | number | symbol]: ResultValue<TContext>[K] }, string | number, UtilsRecord, StandardSchemaV1<unknown, unknown>, { [K in string | number | symbol]: ResultValue<TContext>[K] }>>;Defined in: useLiveInfiniteQuery.ts:40
data#
ts
data: ComputedRef<InferResultType<TContext>>;Defined in: useLiveInfiniteQuery.ts:39
fetchNextPage()#
ts
fetchNextPage: () => Promise<void>;Defined in: useLiveInfiniteQuery.ts:45
Returns#
Promise<void>
hasNextPage#
ts
hasNextPage: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:46
isFetchingNextPage#
ts
isFetchingNextPage: ComputedRef<boolean>;Defined in: useLiveInfiniteQuery.ts:47
pageParams#
ts
pageParams: ComputedRef<number[]>;Defined in: useLiveInfiniteQuery.ts:44
pages#
ts
pages: ComputedRef<InferResultType<TContext>[number][][]>;Defined in: useLiveInfiniteQuery.ts:43
state#
ts
state: ComputedRef<Map<string | number, { [K in string | number | symbol]: ResultValue<TContext>[K] }>>;Defined in: useLiveInfiniteQuery.ts:38
status#
ts
status: ComputedRef<CollectionStatus>;Defined in: useLiveQuery.ts:60
Inherited from#
ts
UseLiveQueryFlags.status