Skip to main content

mongreldb_kit/
lib.rs

1//! Storage-backed MongrelDB Kit crate.
2//!
3//! This crate wraps MongrelDB core with the kit schema model, transaction
4//! semantics, query execution, and migration runner.
5
6pub mod arrow_util;
7pub mod db;
8pub mod error;
9pub(crate) mod internal;
10pub mod migrate;
11pub mod pushdown;
12pub mod query;
13#[cfg(feature = "remote")]
14pub mod remote;
15pub mod schema;
16pub mod tsv;
17pub mod txn;
18
19pub use db::{
20    ApproxAggKind, ApproxAggregate, Database, ExplainPlan, IncrementalAggKind,
21    IncrementalAggregate, SimilarRow,
22};
23pub use error::{KitError, Result};
24pub use migrate::migrate;
25pub use query::JoinRow;
26#[cfg(feature = "remote")]
27pub use remote::{RemoteBatch, RemoteDatabase, RemoteOpResult, RemoteQueryRow, RemoteTransaction};
28pub use schema::Row;
29pub use txn::Transaction;
30
31// Re-export the core model so downstream consumers can depend on a single crate.
32pub use mongreldb_kit_core::*;