diesel/expression_methods/
mod.rs

1//! Adds various methods to construct new expressions. These traits are exported
2//! by default, and implemented automatically.
3//!
4//! You can rely on the methods provided by this trait existing on any
5//! `Expression` of the appropriate type. You should not rely on the specific
6//! traits existing, their names, or their organization.
7mod bool_expression_methods;
8mod eq_all;
9mod escape_expression_methods;
10mod global_expression_methods;
11mod text_expression_methods;
12
13#[doc(inline)]
14pub use self::bool_expression_methods::{BoolExpressionMethods, PreferredBoolSqlType};
15#[doc(hidden)]
16pub use self::eq_all::EqAll;
17#[doc(inline)]
18pub use self::escape_expression_methods::EscapeExpressionMethods;
19#[doc(inline)]
20pub use self::global_expression_methods::{ExpressionMethods, NullableExpressionMethods};
21#[doc(inline)]
22pub use self::text_expression_methods::TextExpressionMethods;
23#[doc(inline)]
24pub use crate::expression::functions::aggregate_expressions::frame_clause::FrameBoundDsl;
25#[doc(inline)]
26pub use crate::expression::functions::aggregate_expressions::frame_clause::FrameClauseDsl;
27#[doc(inline)]
28pub use crate::expression::functions::aggregate_expressions::frame_clause::{
29    FrameClauseEndBound, FrameClauseExclusion, FrameClauseStartBound, OffsetFollowing,
30    OffsetPreceding,
31};
32#[doc(inline)]
33pub use crate::expression::functions::aggregate_expressions::AggregateExpressionMethods;
34#[doc(inline)]
35pub use crate::expression::functions::aggregate_expressions::WindowExpressionMethods;
36
37#[cfg(feature = "postgres_backend")]
38#[doc(inline)]
39pub use crate::pg::expression::expression_methods::*;
40
41#[cfg(feature = "sqlite")]
42#[doc(inline)]
43pub use crate::sqlite::expression::expression_methods::*;