icydb 0.91.3

IcyDB — A schema-first typed query engine and persistence runtime for Internet Computer canisters
Documentation
//! Public facade query surface.
//!
//! Re-exports the typed query builders, semantic query types, and facade-only
//! helper modules used by downstream canister code.

pub mod expr;

pub use expr::{FilterExpr, OrderDirection, SortExpr};
pub use icydb_core::db::{
    AggregateExpr, CompareOp, CompiledQuery, ExplainPlan, FieldRef, MissingRowPolicy,
    NumericProjectionExpr, PlannedQuery, Predicate, Query, QueryTracePlan, RoundProjectionExpr,
    TextProjectionExpr, TraceExecutionFamily, ValueProjectionExpr, add, avg, contains, count,
    count_by, div, ends_with, exists, first, last, left, length, lower, ltrim, max, max_by, min,
    min_by, mul, position, replace, right, round, round_expr, rtrim, starts_with, sub, substring,
    substring_with_length, sum, trim, upper,
};

/// Field-reference and aggregate helpers exposed by the facade query API.
pub mod builder {
    pub use icydb_core::db::{
        AggregateExpr, FieldRef, NumericProjectionExpr, RoundProjectionExpr, TextProjectionExpr,
        ValueProjectionExpr, add, avg, contains, count, count_by, div, ends_with, exists, first,
        last, left, length, lower, ltrim, max, max_by, min, min_by, mul, position, replace, right,
        round, round_expr, rtrim, starts_with, sub, substring, substring_with_length, sum, trim,
        upper,
    };
}

/// Predicate type exposed at the facade query boundary.
pub mod predicate {
    pub use icydb_core::db::Predicate;
}