Trait diesel::expression::Expression
source · [−]pub trait Expression {
type SqlType: TypedExpressionType;
}
Expand description
Represents a typed fragment of SQL.
Apps should not need to implement this type directly, but it may be common
to use this in where clauses. Libraries should consider using
infix_operator!
or
postfix_operator!
instead of
implementing this directly.
Required Associated Types
sourcetype SqlType: TypedExpressionType
type SqlType: TypedExpressionType
The type that this expression represents in SQL