icydb-core 0.145.2

IcyDB — A schema-first typed query engine and persistence runtime for Internet Computer canisters
Documentation
//! Module: query::builder::aggregate
//! Responsibility: composable grouped/global aggregate expression builders plus
//! fluent terminal descriptors that project aggregate-like query results.
//! Does not own: aggregate validation policy, executor fold semantics, or
//! session execution wiring.
//! Boundary: fluent aggregate intent construction and terminal descriptors
//! lowered into query/session-owned execution contracts.

mod boundary;
mod explain;
mod expr;
mod strategy;

///
/// TESTS
///

#[cfg(test)]
mod tests;

pub(in crate::db) use boundary::{
    ScalarNumericFieldBoundaryRequest, ScalarProjectionBoundaryOutput,
    ScalarProjectionBoundaryRequest, ScalarTerminalBoundaryOutput, ScalarTerminalBoundaryRequest,
};
pub(in crate::db) use explain::*;
pub use expr::{
    AggregateExpr, avg, count, count_by, exists, first, last, max, max_by, min, min_by, sum,
};
pub(in crate::db) use strategy::*;