icydb-core 0.94.0

IcyDB — A schema-first typed query engine and persistence runtime for Internet Computer canisters
Documentation
//! Module: query::builder
//! Responsibility: fluent field-level predicate construction helpers.
//! Does not own: query intent compilation or planner validation.
//! Boundary: user-facing ergonomic builder layer.

pub(crate) mod aggregate;
pub(crate) mod field;
pub(crate) mod numeric_projection;
pub(crate) mod scalar_projection;
pub(crate) mod text_projection;

pub use aggregate::{
    AggregateExpr, avg, count, count_by, exists, first, last, max, max_by, min, min_by, sum,
};
pub(crate) use aggregate::{
    PreparedFluentAggregateExplainStrategy, PreparedFluentExistingRowsTerminalRuntimeRequest,
    PreparedFluentExistingRowsTerminalStrategy, PreparedFluentNumericFieldRuntimeRequest,
    PreparedFluentNumericFieldStrategy, PreparedFluentOrderSensitiveTerminalRuntimeRequest,
    PreparedFluentOrderSensitiveTerminalStrategy, PreparedFluentProjectionRuntimeRequest,
    PreparedFluentProjectionStrategy, PreparedFluentScalarTerminalRuntimeRequest,
    PreparedFluentScalarTerminalStrategy,
};
pub use field::FieldRef;
pub use numeric_projection::{
    NumericProjectionExpr, RoundProjectionExpr, add, div, mul, round, round_expr, sub,
};
pub use scalar_projection::ValueProjectionExpr;
pub use text_projection::{
    TextProjectionExpr, contains, ends_with, left, length, lower, ltrim, position, replace, right,
    rtrim, starts_with, substring, substring_with_length, trim, upper,
};