Skip to main content

Crate atomr_persistence_sql

Crate atomr_persistence_sql 

Source
Expand description

atomr-persistence-sql. Unified SQL Journal + SnapshotStore provider.

Uses sqlx under the hood so a single code path targets SQLite (default), Postgres, MySQL, and (later) MSSQL.

Structs§

SqlConfig
SqlJournal
SqlReadJournal
SqlSnapshotStore
WormConfig
WORM behavior toggles, stored on a SqlJournal via SqlJournal::with_worm.

Enums§

ChainProof
Result of verifying a persistence id’s hash chain.
IntegrityError
Errors surfaced while verifying a hash chain.
SqlDialect

Traits§

IntegrityVerify
Recompute and validate a persistence id’s hash chain.

Functions§

detect_dialect
ensure_schema
Apply the migration DDL for the configured dialect. Statements are split on ; so a single embedded SQL file can bootstrap every required table.