DB Docs
API Reference
- Core API Reference
- Collection
- createCollection
- liveQueryCollectionOptions
- createLiveQueryCollection
- createOptimisticAction
- createTransaction
- Electric DB Collection
- electricCollectionOptions
- Query DB Collection
- queryCollectionOptions
- RxDB DB Collection
- rxdbCollectionOptions
- PowerSync Collection
- powerSyncCollectionOptions
- createIndexedDB
- indexedDBCollectionOptions
- React Hooks
- useLiveQuery
AI/LLM: This documentation page is available in plain markdown format at/db/latest/docs/reference/functions/getLiveQueryStatusFlags.md
getLiveQueryStatusFlags
ts
function getLiveQueryStatusFlags(status, health?): LiveQueryStatusFlags;Defined in: packages/db/src/live-query-primitives.ts:87
Derive the status flags from a collection status and its health tree. This is the one place the isSyncError rule is written. Adapters represent a disabled query separately (with isReady: true); this covers the real CollectionStatus values.