Expand description
Storage layer — target-transparent SQLite access.
Call open_file or open_memory instead of calling rusqlite::Connection
directly. Internally they dispatch to the correct backend for each compile target.
Structs§
- DucConnection
- A fully-initialized
rusqlite::Connectionwith schema applied.
Enums§
- DbError
- Unified error type for the storage layer.
Functions§
- open_
file - Open (or create) a
.ducfile atpathon non-WASM targets. - open_
memory - Open an in-memory
.ducdatabase on non-WASM targets. - open_
memory_ compact - Open an in-memory
.ducdatabase withpage_size = 1024, optimized for minimal serialization output size.