Trait diesel::expression::AsExpression [] [src]

pub trait AsExpression<T> {
    type Expression: Expression<SqlType = T>;
    fn as_expression(self) -> Self::Expression;
}

Converts a type to its representation for use in Diesel's query builder.

Implementations of this trait will generally do one of 3 things:

Associated Types

Required Methods

Implementors