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

LiveQueryIdentityScope.md

62 lines1.2 KB

1---
2id: LiveQueryIdentityScope
3title: LiveQueryIdentityScope
4---
5​
6Defined in: [packages/db/src/live-query-adapter.ts:122](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-adapter.ts#L122)
7​
8Where a binding that compares query identity checks a prepared query.
9​
10## Properties
11​
12### bindingName
13​
14```ts
15bindingName: string;
16```
17​
18Defined in: [packages/db/src/live-query-adapter.ts:126](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-adapter.ts#L126)
19​
20***
21​
22### claims
23​
24```ts
25claims: LiveQuerySourceIdClaims;
26```
27​
28Defined in: [packages/db/src/live-query-adapter.ts:124](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-adapter.ts#L124)
29​
30This binding's source Collection ID claims.
31​
32***
33​
34### client
35​
36```ts
37client: DbClient | undefined;
38```
39​
40Defined in: [packages/db/src/live-query-adapter.ts:125](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-adapter.ts#L125)
41​
42***
43​
44### onUnboundDescriptor()?
45​
46```ts
47optional onUnboundDescriptor: (alias) => never;
48```
49​
50Defined in: [packages/db/src/live-query-adapter.ts:128](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-adapter.ts#L128)
51​
52Report a descriptor source that no client bound.
53​
54#### Parameters
55​
56##### alias
57​
58`string`
59​
60#### Returns
61​
62`never`