Open History to see the last commit
1---
2id: canonicalizeQueryIR
3title: canonicalizeQueryIR
4---
5
6```ts
7function canonicalizeQueryIR(query): StableIdentityValue;
8```
9
10Defined in: [packages/db/src/query/ir-stable-identity.ts:162](https://github.com/TanStack/db/blob/main/packages/db/src/query/ir-stable-identity.ts#L162)
11
12## Parameters
13
14### query
15
16[`QueryIR`](../@tanstack/namespaces/IR/interfaces/QueryIR.md)
17
18## Returns
19
20`StableIdentityValue`