tideorm-sql-builder 0.2.0

SQL builder for TideORM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Building blocks of SQL statements.
//!
//! [`Expr`] is an arbitrary, dynamically-typed SQL expression.
//! It can be used in select fields, where clauses and many other places.
//!
//! [`ExprTrait`] provides "operator" methods for building expressions.

// Intentionally not `pub`. They only export a single item each.
// It's a mechanical split to manage LoC.
mod r#enum;
mod r#trait;

pub(crate) use r#enum::CustomExprPart;
pub use r#enum::{CustomExpr, Expr};
pub use r#trait::ExprTrait;

/// Another name for [`Expr`].
pub type SimpleExpr = Expr;