Skip to content
Merged
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
5 changes: 4 additions & 1 deletion packages/powersync_core/lib/src/schema.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading