Skip to main content

Module db

Module db 

Source

Modules§

backup
migrations
runtime
types
version

Structs§

Database
Database handle providing synchronous API over async SQLx operations. Uses a bridge pattern with RUNTIME.block_on() to maintain synchronous interface for compatibility with existing single-threaded event loop.

Constants§

DB_FILENAME
The filename of the SQLite database used by Cadmus.

Functions§

log_version_gate 🔒
Logs the outcome of a version gate check that does not require a restore.
open_pool 🔒
Opens a connection pool for the given SQLite database path.