Expand description
SqlAccess trait bridge to ConnectionPool.
SqlAccess bridge: connects ConnectionPool to khive_storage::SqlAccess.
Two modes:
- File-backed: ordinary reads check out pooled readers per operation.
The only standalone-reader exception is an explicitly admitted multi-call
deferred read transaction; standalone writer handles remain capped at one.
Cross-statement write atomicity goes through
atomic_unit, which drives a single registered raw transaction span rather than a caller-held per-tx connection. - Memory: Uses pool-backed approach (acquire pool connection per-query inside
spawn_blocking).
Structsยง
- SqlBridge
- Bridges
ConnectionPooltokhive_storage::SqlAccess.