donadb-rel 0.1.2

DonaDB Relational — typed schemas, secondary indexes, and relational scans on top of DonaDB. Built for the TruthLinked blockchain.
Documentation
//! Relational overlay for DonaDB.
//!
//! `donadb-rel` adds typed schemas, secondary indexes, predicate scans, and
//! foreign-key traversal on top of DonaDB without changing the storage engine.
//! Records are encoded into opaque DonaDB values, while indexes live in dedicated
//! domains and are updated in the same write batch as the primary record.
//!
//! The layer is intentionally additive: raw DonaDB reads and writes can coexist
//! with schema-aware access for applications that need both direct key-value
//! storage and relational query ergonomics.

pub mod codec;
pub mod error;
pub mod index;
pub mod predicate;
pub mod relation;
pub mod schema;

pub use error::RelError;
pub use index::{IndexSpec, IndexWriter};
pub use predicate::{FieldOp, Predicate};
pub use relation::{RelTable, RelTableConfig};
pub use schema::{Field, FieldType, FieldValue, Record, Schema};