Open History to see the last commit
1---
2id: getLiveQueryHash
3title: getLiveQueryHash
4---
5
6```ts
7function getLiveQueryHash(preparedValue, queryKey?): string;
8```
9
10Defined in: [packages/db/src/live-query-options.ts:144](https://github.com/TanStack/db/blob/main/packages/db/src/live-query-options.ts#L144)
11
12## Parameters
13
14### preparedValue
15
16`unknown`
17
18### queryKey?
19
20[`LiveQueryKey`](../type-aliases/LiveQueryKey.md)
21
22## Returns
23
24`string`