From 0cb621369eb530f1a00f5b200b031deec4075aa6 Mon Sep 17 00:00:00 2001 From: Dominic Gunther Bauer <46312751+DominicGBauer@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:47:10 +0200 Subject: [PATCH] chore: update insertOnly description (#220) --- packages/powersync_core/lib/src/schema.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/powersync_core/lib/src/schema.dart b/packages/powersync_core/lib/src/schema.dart index efa87abc..ab0448f3 100644 --- a/packages/powersync_core/lib/src/schema.dart +++ b/packages/powersync_core/lib/src/schema.dart @@ -80,9 +80,12 @@ class Table { /// Create a table that only supports inserts. /// - /// This table records INSERT statements, but does not persist data locally. + /// This table supports INSERT statements, operations are recorded internally + /// and are cleared once handled in the `PowerSyncBackendConnector.uploadData` + /// method. /// /// SELECT queries on the table will always return 0 rows. + /// const Table.insertOnly(this.name, this.columns, {String? viewName}) : localOnly = false, insertOnly = true,