Trait diesel::expression::expression_methods::text_expression_methods::VarCharExpressionMethods [] [src]

pub trait VarCharExpressionMethods: Expression<SqlType=VarChar> + Sized {
    fn like<T: AsExpression<VarChar>>(self, other: T) -> Like<Self, T::Expression> { ... }
    fn not_like<T: AsExpression<VarChar>>(self, other: T) -> NotLike<Self, T::Expression> { ... }
}

Provided Methods

fn like<T: AsExpression<VarChar>>(self, other: T) -> Like<Self, T::Expression>

Returns a SQL LIKE expression

fn not_like<T: AsExpression<VarChar>>(self, other: T) -> NotLike<Self, T::Expression>

Returns a SQL NOT LIKE expression

Implementors