Open History to see the last commit
1---
2id: getLiveQueryStatusFlags
3title: getLiveQueryStatusFlags
4---
5
6# Function: getLiveQueryStatusFlags()
7
8```ts
9function getLiveQueryStatusFlags(status): LiveQueryStatusFlags;
10```
11
12Defined in: [packages/db/src/live-query-adapter.ts:58](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-adapter.ts#L58)
13
14Derive the boolean status flags from a collection status. Adapters represent
15a disabled query separately (with `isReady: true`); this covers the real
16`CollectionStatus` values.
17
18## Parameters
19
20### status
21
22[`CollectionStatus`](../type-aliases/CollectionStatus.md)
23
24## Returns
25
26[`LiveQueryStatusFlags`](../interfaces/LiveQueryStatusFlags.md)