Expand description
SQLite store initialization with WAL and contention hardening.
Constants§
- BUSY_
TIMEOUT_ MS - SQLite lock wait timeout in milliseconds.
Functions§
- current_
user_ version - Read the current
PRAGMA user_versionfrom a connection. Returns0on a fresh DB. Thin re-export ofcrate::migrator::current_user_versionkept here for callers that only depend on the storage layer. - open
- Opens a file-backed SQLite connection with hardened pragmas.
- open_
in_ memory - Opens an in-memory SQLite connection with hardened pragmas.