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

claimLiveQuerySourceIds.md

38 lines615 Bytes

1---
2id: claimLiveQuerySourceIds
3title: claimLiveQuerySourceIds
4---
5​
6```ts
7function claimLiveQuerySourceIds(
8 claims,
9 sources,
10 client,
11 bindingName): void;
12```
13​
14Defined in: [packages/db/src/live-query-adapter.ts:99](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-adapter.ts#L99)
15​
16Record a query's sources, or throw before recording any.
17​
18## Parameters
19​
20### claims
21​
22[`LiveQuerySourceIdClaims`](../type-aliases/LiveQuerySourceIdClaims.md)
23​
24### sources
25​
26readonly `object`[]
27​
28### client
29​
30[`DbClient`](../classes/DbClient.md) | `undefined`
31​
32### bindingName
33​
34`string`
35​
36## Returns
37​
38`void`