Skip to content
Source
Sign inSign up
TanStack/db
Open History to see the last commit

CompileSQLiteOptions.md

24 lines689 Bytes

1---
2id: CompileSQLiteOptions
3title: CompileSQLiteOptions
4---
5​
6# Interface: CompileSQLiteOptions
7​
8Defined in: [sqlite-compiler.ts:20](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/sqlite-compiler.ts#L20)
9​
10Options for controlling how SQL is compiled.
11​
12## Properties
13​
14### jsonColumn?
15​
16```ts
17optional jsonColumn: string;
18```
19​
20Defined in: [sqlite-compiler.ts:26](https://github.com/TanStack/db/blob/main/packages/powersync-db-collection/src/sqlite-compiler.ts#L26)
21​
22When set, column references emit `json_extract(<jsonColumn>, '$.<columnName>')`
23instead of `"<columnName>"`. The `id` column is excluded since it's stored
24as a direct column in the tracked table.