Skip to main content

Module synced_schema

Module synced_schema 

Source
Expand description

Synced-table declarations and the shared identifier-quoting helper.

SyncedTable is how a host declares which tables participate in changeset sync and what (table, id) means for each one. The set is no longer a process-global: the host passes it to CovenBuilder::synced_tables, and coven owns it for the lifetime of the connection and hands it to each journaled write’s capture session, the gate, and apply.

Structs§

BlobDecl
Where a blob-bearing table’s blob columns live, declared by the host so coven can derive every blob a row references without a runtime callback. Resolved against the live schema into the database’s BlobDecls each cycle.
SyncedTable
A table that participates in changeset sync, declared at startup by the host and passed to CovenBuilder::synced_tables.

Enums§

GateRole
How a synced table relates to the gate. Orthogonal to whether it carries a blob.
RowIdentity
How (table, id) names one logical row across every device.
RowIdentityError