Defined in: index.ts:41
The result of calling injectLiveQuery. Contains reactive signals for the query state and data.
TContext extends Context
collection: Signal<
| Collection<{ [K in string | number | symbol]: ResultValue<TContext>[K] }, string | number, {
}, StandardSchemaV1<unknown, unknown>, { [K in string | number | symbol]: ResultValue<TContext>[K] }>
| null>;Defined in: index.ts:47
A signal containing the underlying collection instance (null for disabled queries)
data: Signal<InferResultType<TContext>>;Defined in: index.ts:45
A signal containing the results as an array, or single result for findOne queries
isCleanedUp: Signal<boolean>;Defined in: index.ts:66
A signal indicating whether the collection has been cleaned up
isError: Signal<boolean>;Defined in: index.ts:64
A signal indicating whether the collection has an error
isIdle: Signal<boolean>;Defined in: index.ts:62
A signal indicating whether the collection is idle
isLoading: Signal<boolean>;Defined in: index.ts:55
A signal indicating whether the collection is currently loading
isPersistedReady: Signal<boolean>;Defined in: index.ts:59
isReady: Signal<boolean>;Defined in: index.ts:57
A signal indicating whether the collection is ready
persistedError: Signal<unknown>;Defined in: index.ts:60
persistedStatus: Signal<LiveQueryPersistedStatus>;Defined in: index.ts:58
state: Signal<Map<string | number, { [K in string | number | symbol]: ResultValue<TContext>[K] }>>;Defined in: index.ts:43
A signal containing the complete state map of results keyed by their ID
status: Signal<CollectionStatus | "disabled">;Defined in: index.ts:53
A signal containing the current status of the collection