Table.insertOnly constructor
Create a table that only supports inserts.
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.
Implementation
const Table.insertOnly(this.name, this.columns, {String? viewName})
: localOnly = false,
insertOnly = true,
indexes = const [],
_viewNameOverride = viewName;