Skip to content

Commit

Permalink
chore: update insertOnly description
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicGBauer committed Dec 23, 2024
1 parent 2ccf239 commit f1f6632
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/powersync/lib/src/schema.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,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,
Expand Down

0 comments on commit f1f6632

Please sign in to comment.