| 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. |
| 7 |
mod bool_expression_methods; |
| 8 |
mod eq_all; |
| 9 |
mod escape_expression_methods; |
| 10 |
mod global_expression_methods; |
| 11 |
mod text_expression_methods; |
| 12 |
|
| 13 |
#[doc(inline)] |
| 14 |
pub use self::bool_expression_methods::{BoolExpressionMethods, PreferredBoolSqlType}; |
| 15 |
#[doc(hidden)] |
| 16 |
pub use self::eq_all::EqAll; |
| 17 |
#[doc(inline)] |
| 18 |
pub use self::escape_expression_methods::EscapeExpressionMethods; |
| 19 |
#[doc(inline)] |
| 20 |
pub use self::global_expression_methods::{ExpressionMethods, NullableExpressionMethods}; |
| 21 |
#[doc(inline)] |
| 22 |
pub use self::text_expression_methods::TextExpressionMethods; |
| 23 |
#[doc(inline)] |
| 24 |
pub use crate::expression::functions::aggregate_expressions::frame_clause::FrameBoundDsl; |
| 25 |
#[doc(inline)] |
| 26 |
pub use crate::expression::functions::aggregate_expressions::frame_clause::FrameClauseDsl; |
| 27 |
#[doc(inline)] |
| 28 |
pub use crate::expression::functions::aggregate_expressions::frame_clause::{ |
| 29 |
FrameClauseEndBound, FrameClauseExclusion, FrameClauseStartBound, OffsetFollowing, |
| 30 |
OffsetPreceding, |
| 31 |
}; |
| 32 |
#[doc(inline)] |
| 33 |
pub use crate::expression::functions::aggregate_expressions::AggregateExpressionMethods; |
| 34 |
#[doc(inline)] |
| 35 |
pub use crate::expression::functions::aggregate_expressions::WindowExpressionMethods; |
| 36 |
|
| 37 |
#[cfg(feature = "postgres_backend")] |
| 38 |
#[doc(inline)] |
| 39 |
pub use crate::pg::expression::expression_methods::*; |
| 40 |
|
| 41 |
#[cfg(feature = "sqlite")] |
| 42 |
#[doc(inline)] |
| 43 |
pub use crate::sqlite::expression::expression_methods::*; |