Skip to main content

Module sync

Module sync 

Source
Expand description

Cross-database sync IR and adapter traits.

Path drivers implement adapters and register them via SyncAdapterFactory

  • inventory. The host owns the runtime registry and orchestration.

Macros§

register_sync_adapter
Helper: submit a sync adapter factory at link time.

Structs§

BoxedSyncAdapter
Type-erased sync adapter pair produced by driver crates.
IRColumn
One column in the intermediate schema.
IRTable
A full table definition in intermediate form.
SyncAdapterFactory
Inventory factory discovered by the host sync registry.

Enums§

IRDefault
Standardised default-value expression.
IRType
Database-agnostic column type.

Traits§

SyncSourceAdapter
Converts native column metadata into IR (used for the source side of a sync).
SyncTargetAdapter
Renders IR back into native DDL fragments (used for the target side of a sync).