Table of Contents

Namespace PowerSync.Common.DB.Schema

Namespaces

PowerSync.Common.DB.Schema.Attributes

Classes

BaseTable
PendingStatement
PendingStatementParameter
RawTable
RawTableSchema

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.

Schema
SchemaJsonConverter

Serializes a Schema into the JSON format expected by the powersync_replace_schema SQLite function.

Table
TableOptions
TrackPreviousOptions

Whether to include previous column values when PowerSync tracks local changes. Including old values may be helpful for some backend connector implementations, which is why it can be enabled on a per-table or per-column basis.

Enums

ColumnType