Trait diesel::expression::expression_methods::text_expression_methods::TextExpressionMethods
[−]
[src]
pub trait TextExpressionMethods: Expression<SqlType=Text> + Sized { fn like<T: AsExpression<Text>>(self, other: T) -> Like<Self, T::Expression> { ... } fn not_like<T: AsExpression<Text>>(self,
other: T)
-> NotLike<Self, T::Expression> { ... } }
Provided Methods
fn like<T: AsExpression<Text>>(self, other: T) -> Like<Self, T::Expression>
Returns a SQL LIKE
expression
fn not_like<T: AsExpression<Text>>(self,
other: T)
-> NotLike<Self, T::Expression>
other: T)
-> NotLike<Self, T::Expression>
Returns a SQL NOT LIKE
expression
Implementors
impl<T: Expression<SqlType=Text>> TextExpressionMethods for T