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