UseLiveQueryReturnWithSingleResultCollection
Defined in: useLiveQuery.ts:108
Status, persistence, and error refs every useLiveQuery result has.
Extends#
Type Parameters#
T#
T extends object
TKey#
TKey extends string | number
TUtils#
TUtils extends Record<string, any>
Properties#
collection#
collection: ComputedRef<Collection<T, TKey, TUtils, StandardSchemaV1<unknown, unknown>, T> & SingleResult>;Defined in: useLiveQuery.ts:115
data#
data: ComputedRef<T | undefined>;Defined in: useLiveQuery.ts:114
health#
health: ComputedRef<HealthNode | undefined>;Defined in: useLiveQuery.ts:69
Inherited from#
isCleanedUp#
isCleanedUp: ComputedRef<boolean>;Defined in: useLiveQuery.ts:66
Inherited from#
isCrashed#
isCrashed: ComputedRef<boolean>;Defined in: useLiveQuery.ts:65
Local storage or an invariant broke. Only a cascade cleanup and a fresh start recover.
Inherited from#
isIdle#
isIdle: ComputedRef<boolean>;Defined in: useLiveQuery.ts:61
Inherited from#
isLoading#
isLoading: ComputedRef<boolean>;Defined in: useLiveQuery.ts:59
Inherited from#
isLoadingError#
isLoadingError: ComputedRef<boolean>;Defined in: useLiveQuery.ts:63
The first load failed: there is nothing to show.
Inherited from#
UseLiveQueryFlags.isLoadingError
isReady#
isReady: ComputedRef<boolean>;Defined in: useLiveQuery.ts:60
Inherited from#
isSyncError#
isSyncError: ComputedRef<boolean>;Defined in: useLiveQuery.ts:68
The data is shown, and a sync problem or failed request is in health.
Inherited from#
state#
state: ComputedRef<Map<TKey, T>>;Defined in: useLiveQuery.ts:113
status#
status: ComputedRef<CollectionStatus>;Defined in: useLiveQuery.ts:58