sea_query/expr/
mod.rs

1//! Building blocks of SQL statements.
2//!
3//! [`Expr`] is an arbitrary, dynamically-typed SQL expression.
4//! It can be used in select fields, where clauses and many other places.
5//!
6//! [`ExprTrait`] provides "operator" methods for building expressions.
7
8// Intentionally not `pub`. They only export a single item each.
9// It's a mechanical split to manage LoC.
10mod r#enum;
11mod r#trait;
12
13pub use r#enum::Expr;
14pub use r#trait::ExprTrait;
15
16/// A legacy compatibility alias for [`Expr`].
17///
18/// These used to be two separate (but very similar) types.
19pub type SimpleExpr = Expr;