Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions client-sdks/advanced/local-only-usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
const lists = new Table({
...
}, {
localOnly: true

Check warning on line 32 in client-sdks/advanced/local-only-usage.mdx

View check run for this annotation

Mintlify / Mintlify Validation (powersync) - vale-spellcheck

client-sdks/advanced/local-only-usage.mdx#L32

Did you really mean 'localOnly'?
});
```
</Tab>
Expand All @@ -37,7 +37,7 @@
```kotlin
val Table = Table(
...
localOnly = true

Check warning on line 40 in client-sdks/advanced/local-only-usage.mdx

View check run for this annotation

Mintlify / Mintlify Validation (powersync) - vale-spellcheck

client-sdks/advanced/local-only-usage.mdx#L40

Did you really mean 'localOnly'?
)
```
</Tab>
Expand All @@ -45,7 +45,7 @@
```swift
let table = Table(
...
localOnly: true

Check warning on line 48 in client-sdks/advanced/local-only-usage.mdx

View check run for this annotation

Mintlify / Mintlify Validation (powersync) - vale-spellcheck

client-sdks/advanced/local-only-usage.mdx#L48

Did you really mean 'localOnly'?
)
```
</Tab>
Expand Down Expand Up @@ -83,3 +83,7 @@
It is up to the application to then re-create the queue when the user registers, or upload data directly from the existing tables instead.

A small amount of metadata per row is also stored in the `ps_oplog` table. We do not recommend deleting this data, as it can cause or hide consistency issues when later uploading the data. If the overhead in `ps_oplog` is too much, rather use the local-only tables approach.

### Local-only columns on synced tables

If you need individual local-only columns on a table that is otherwise synced (rather than an entirely local-only table), this can be achieved with [raw tables](/client-sdks/advanced/raw-tables#local-only-columns).
Loading