RawTableSchema

class RawTableSchema(val tableName: String? = null, val syncedColumns: List<String>? = null, val options: TableOptions = TableOptions())(source)

The schema of a RawTable in the local database.

This information is optional when declaring raw tables. However, providing it allows the sync client to infer RawTable.put and RawTable.delete statements automatically.

Constructors

Link copied to clipboard
constructor(tableName: String? = null, syncedColumns: List<String>? = null, options: TableOptions = TableOptions())

Properties

Link copied to clipboard

Common options affecting how the powersync_create_raw_table_crud_trigger SQL function generates triggers.

Link copied to clipboard

An optional filter of columns that should be synced.

Link copied to clipboard

The actual name of the raw table in the local schema.