Open History to see the last commit
1---
2id: compileQuery
3title: compileQuery
4---
5
6```ts
7function compileQuery(...args): CompilationResult;
8```
9
10Defined in: [packages/db/src/query/compiler/index.ts:411](https://github.com/TanStack/db/blob/main/packages/db/src/query/compiler/index.ts#L411)
11
12## Parameters
13
14### args
15
16...`CompileQueryArgs`
17
18## Returns
19
20`CompilationResult`