1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! Adds various methods to construct new expressions. These traits are exported
//! by default, and implemented automatically.
//!
//! You can rely on the methods provided by this trait existing on any
//! `Expression` of the appropriate type. You should not rely on the specific
//! traits existing, their names, or their organization.
mod bool_expression_methods;
mod eq_all;
mod escape_expression_methods;
mod global_expression_methods;
mod text_expression_methods;

#[doc(inline)]
pub use self::bool_expression_methods::BoolExpressionMethods;
#[doc(hidden)]
pub use self::eq_all::EqAll;
#[doc(inline)]
pub use self::escape_expression_methods::EscapeExpressionMethods;
#[doc(inline)]
pub use self::global_expression_methods::{ExpressionMethods, NullableExpressionMethods};
#[doc(inline)]
pub use self::text_expression_methods::TextExpressionMethods;

#[cfg(feature = "postgres_backend")]
#[doc(inline)]
pub use crate::pg::expression::expression_methods::*;

#[cfg(feature = "sqlite")]
#[doc(inline)]
pub use crate::sqlite::expression::expression_methods::*;