Skip to main content
Module db
cadmus_
core
v0.11.0-4-g858fbf3-dirty
Module db
Module Items
Modules
Structs
Constants
Functions
In crate cadmus_
core
cadmus_core
Module
db
Copy item path
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.