//! The types in this module are all shorthand for `PredicateType>`. Since we often need to return concrete types, instead of //! a boxed trait object, these can be useful for writing concise return types. use super::array_comparison::{AsInExpression, In, NotIn}; use super::grouped::Grouped; use super::{AsExpression, Expression}; use sql_types; /// The SQL type of an expression pub type SqlTypeOf = ::SqlType; /// The type of `Item` when converted to an expression with the same type as `TargetExpr` pub type AsExpr = AsExprOf>; /// The type of `Item` when converted to an expression of `Type` pub type AsExprOf = >::Expression; /// The return type of /// [`lhs.eq(rhs)`](../expression_methods/trait.ExpressionMethods.html#method.eq) pub type Eq = super::operators::Eq>; /// The return type of /// [`lhs.ne(rhs)`](../expression_methods/trait.ExpressionMethods.html#method.ne) pub type NotEq = super::operators::NotEq>; /// The return type of /// [`lhs.eq_any(rhs)`](../expression_methods/trait.ExpressionMethods.html#method.eq_any) pub type EqAny = In>>::InExpression>; /// The return type of /// [`lhs.ne_any(rhs)`](../expression_methods/trait.ExpressionMethods.html#method.ne_any) pub type NeAny = NotIn>>::InExpression>; /// The return type of /// [`expr.is_null()`](../expression_methods/trait.ExpressionMethods.html#method.is_null) pub type IsNull = super::operators::IsNull; /// The return type of /// [`expr.is_not_null()`](../expression_methods/trait.ExpressionMethods.html#method.is_not_null) pub type IsNotNull = super::operators::IsNotNull; /// The return type of /// [`lhs.gt(rhs)`](../expression_methods/trait.ExpressionMethods.html#method.gt) pub type Gt = super::operators::Gt>; /// The return type of /// [`lhs.ge(rhs)`](../expression_methods/trait.ExpressionMethods.html#method.ge) pub type GtEq = super::operators::GtEq>; /// The return type of /// [`lhs.lt(rhs)`](../expression_methods/trait.ExpressionMethods.html#method.lt) pub type Lt = super::operators::Lt>; /// The return type of /// [`lhs.le(rhs)`](../expression_methods/trait.ExpressionMethods.html#method.le) pub type LtEq = super::operators::LtEq>; /// The return type of /// [`lhs.between(lower, upper)`](../expression_methods/trait.ExpressionMethods.html#method.between) pub type Between = super::operators::Between, AsExpr>>; /// The return type of /// [`lhs.not_between(lower, upper)`](../expression_methods/trait.ExpressionMethods.html#method.not_between) pub type NotBetween = super::operators::NotBetween< Lhs, super::operators::And, AsExpr>, >; /// The return type of /// [`expr.desc()`](../expression_methods/trait.ExpressionMethods.html#method.desc) pub type Desc = super::operators::Desc; /// The return type of /// [`expr.asc()`](../expression_methods/trait.ExpressionMethods.html#method.asc) pub type Asc = super::operators::Asc; /// The return type of /// [`expr.nullable()`](../expression_methods/trait.NullableExpressionMethods.html#method.nullable) pub type Nullable = super::nullable::Nullable; /// The return type of /// [`lhs.and(rhs)`](../expression_methods/trait.BoolExpressionMethods.html#method.and) pub type And = super::operators::And>; /// The return type of /// [`lhs.or(rhs)`](../expression_methods/trait.BoolExpressionMethods.html#method.or) pub type Or = Grouped>>; /// The return type of /// [`lhs.escape('x')`](../expression_methods/trait.EscapeExpressionMethods.html#method.escape) pub type Escape = super::operators::Escape>; /// The return type of /// [`lhs.like(rhs)`](../expression_methods/trait.TextExpressionMethods.html#method.like) pub type Like = super::operators::Like>; /// The return type of /// [`lhs.not_like(rhs)`](../expression_methods/trait.TextExpressionMethods.html#method.not_like) pub type NotLike = super::operators::NotLike>; #[doc(inline)] pub use super::functions::helper_types::*;