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