Crate holochain_sqlite
source ·Expand description
Building blocks for persisted Holochain state
See crate README for more info.
See this hackmd for a diagram explaining the relationships between these building blocks and the higher abstractions
Re-exports
pub use ::rusqlite;
Modules
- Functions dealing with obtaining and referencing singleton databases
- All possible errors when working with SQLite databases
- A few imports from
rkv
, to avoid consumers needing to importrkv
explicitly - Sometimes we have fatal errors, and need to halt the system. This module provides standards for showing these messages to the user.
- nonce sql logic
- Common types, especially traits, which we’d like to import en masse
- Schema and migration definitions
Macros
- Macro for standard handling of fatal errors
- Macro for standard handling of db deserialization fatal errors
- Macro for standard handling of db hash integrity check failures