Trait diesel::expression::Expression
[−]
[src]
pub trait Expression { type SqlType; }
Represents a typed fragment of SQL. Apps should not need to implement this
type directly, but it may be common to use this as type boundaries.
Libraries should consider using
infix_predicate!
or
postfix_predicate!
instead of
implementing this directly.
Associated Types
type SqlType
Implementors
impl<T: Expression> Expression for Max<T> where T::SqlType: IntoNullable
impl<T: Expression> Expression for Min<T> where T::SqlType: IntoNullable
impl<ST, T> Expression for Sum<T> where ST: Foldable, T: Expression<SqlType=ST>
impl<ST, T> Expression for Avg<T> where ST: Foldable, T: Expression<SqlType=ST>
impl Expression for now
impl<T> Expression for IsNull<T> where T: Expression
impl<T> Expression for IsNotNull<T> where T: Expression
impl<T> Expression for Asc<T> where T: Expression
impl<T> Expression for Desc<T> where T: Expression
impl<ST> Expression for SqlLiteral<ST>
impl<T: Expression + ?Sized> Expression for Box<T>
impl<'a, T: Expression + ?Sized> Expression for &'a T
impl<A: Expression + NonAggregate> Expression for (A,)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate> Expression for (A, B)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate> Expression for (A, B, C)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate> Expression for (A, B, C, D)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate> Expression for (A, B, C, D, E)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate> Expression for (A, B, C, D, E, F)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G, H)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G, H, I)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G, H, I, J)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G, H, I, J, K)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G, H, I, J, K, L)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G, H, I, J, K, L, M)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)
impl<A: Expression + NonAggregate, B: Expression + NonAggregate, C: Expression + NonAggregate, D: Expression + NonAggregate, E: Expression + NonAggregate, F: Expression + NonAggregate, G: Expression + NonAggregate, H: Expression + NonAggregate, I: Expression + NonAggregate, J: Expression + NonAggregate, K: Expression + NonAggregate, L: Expression + NonAggregate, M: Expression + NonAggregate, N: Expression + NonAggregate, O: Expression + NonAggregate, P: Expression + NonAggregate> Expression for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)