Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

InjectLiveQueryResultWithSingleResultCollection.md

77 lines1.5 KB

Defined in: angular-db/src/index.ts:90

The status and flag signals every injectLiveQuery result has.

Extends

Type Parameters

TResult

TResult extends object = any

TKey

TKey extends string | number = string | number

TUtils

TUtils extends Record<string, any> = { }

Properties

collection

collection: Signal<
  | Collection<TResult, TKey, TUtils, StandardSchemaV1<unknown, unknown>, TResult> & SingleResult
| null>;

Defined in: angular-db/src/index.ts:97


data

data: Signal<TResult | undefined>;

Defined in: angular-db/src/index.ts:96


state

state: Signal<Map<TKey, TResult>>;

Defined in: angular-db/src/index.ts:95


status

status: Signal<CollectionStatus | "disabled">;

Defined in: angular-db/src/index.ts:48

A signal containing the current status of the collection

Inherited from

InjectLiveQueryFlags.status