Skip to main content

rust_ef/query/
mod.rs

1//! Query builder & LINQ-style chainable query API.
2//!
3//! Accumulates a condition tree ([`Predicate`]), orderings, pagination,
4//! includes, and projection metadata through a fluent interface. Terminal
5//! methods (`to_list`, `first`, `count`, etc.) produce real SQL that can be
6//! executed against a database provider.
7
8mod ast;
9mod builder;
10mod compile;
11mod cte;
12mod execute_update;
13mod having_expr;
14mod helpers;
15mod predicate;
16mod select;
17mod source;
18mod state;
19mod window;
20
21pub use ast::*;
22pub use builder::QueryBuilder;
23pub use cte::*;
24pub use execute_update::ExecuteUpdateBuilder;
25pub use having_expr::*;
26pub use helpers::*;
27pub use predicate::Predicate;
28pub use select::SelectQueryBuilder;
29pub use source::*;
30pub use state::QueryState;
31pub use window::*;
32
33// crate-internal helpers (used by change_executor / lazy / navigation_loader)
34pub(crate) use compile::{collect_bool_expr_values, compile_bool_expr};