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<ST> Expression for SqlLiteral<ST>
impl<T: Expression + ?Sized> Expression for Box<T>
impl<'a, T: Expression + ?Sized> Expression for &'a T