Open History to see the last commit
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`