Skip to main contentCrate appdb
Source pub use auth::*;pub use connection::*;pub use crypto::*;pub use error::*;pub use graph::*;pub use repository::*;pub use serde_utils::id::*;pub use tx::*;
- auth
- Authentication helpers for bootstrapping the embedded database.
- connection
- Database runtime setup and global handle access.
- crypto
- Encryption helpers and key-provider abstractions.
- error
- Library error types.
- graph
- Graph relation helpers built on top of SurrealDB relation tables.
- model
- Model metadata, schema registration, and relation metadata.
- prelude
- Common re-exports for application code.
- query
- Raw and builder-style query helpers.
- repository
- CRUD repository layer.
- serde_utils
- Serde helpers for ids and SurrealDB-friendly encoding.
- tx
- Explicit transaction runner helpers.
- impl_schema
- Registers a schema DDL string for a type.
- BindrefShape
- Recursive runtime seam for
#[bindref] container shapes. - Bridge
- Runtime seam for values persisted by
#[bindref] fields. - NestedStoreRefs
- Runtime seam for explicit nested
#[store(ref)] persistence and hydration. - Sensitive
- Trait implemented by encrypted domain types generated by
#[derive(Sensitive)]. - StoredModel
- Runtime conversion seam between the caller-facing model and the stored representation.
- resolve_store_ref_record_id
- Saves or resolves one nested child model and returns its record id.
- rewrite_store_ref_json_value
- Converts nested store-ref JSON shapes like
{ id: ... } into raw record-id JSON values.
- Bridge
- Relation
- Sensitive
- Store