Crate holochain_sqlite[−][src]
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 {{root}}::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 import rkv
explicitly
Sometimes we have fatal errors, and need to halt the system. This module provides standards for showing these messages to the user.
Common types, especially traits, which we’d like to import en masse
Helpers for unit tests
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
Macro to generate a fresh reader from an DbRead with less boilerplate
Macro to generate a fresh reader from an DbRead with less boilerplate Use this in tests, where everything gets unwrapped anyway
Macro to generate a fresh reader from an DbRead with less boilerplate Use this in tests, where everything gets unwrapped anyway