Expand description
SqlAccess trait bridge to ConnectionPool.
SqlAccess bridge: connects ConnectionPool to khive_storage::SqlAccess.
Two modes:
- File-backed: Opens standalone connections per reader/writer call (high concurrency).
Cross-statement 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.