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

CompileSQLiteOptions.md

22 lines654 Bytes

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