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
- SqlRead
Journal - SqlSnapshot
Store - Worm
Config - WORM behavior toggles, stored on a
SqlJournalviaSqlJournal::with_worm.
Enums§
- Chain
Proof - Result of verifying a persistence id’s hash chain.
- Integrity
Error - Errors surfaced while verifying a hash chain.
- SqlDialect
Traits§
- Integrity
Verify - 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.