pub trait TsQueryExtensions: Expression<SqlType = TsQuery> + Sized {
    // Provided methods
    fn matches<T: AsExpression<TsVector>>(
        self,
        other: T
    ) -> Matches<Self, T::Expression> { ... }
    fn and<T: AsExpression<TsQuery>>(self, other: T) -> And<Self, T::Expression> { ... }
    fn or<T: AsExpression<TsQuery>>(self, other: T) -> Or<Self, T::Expression> { ... }
    fn contains<T: AsExpression<TsQuery>>(
        self,
        other: T
    ) -> Contains<Self, T::Expression> { ... }
    fn contained_by<T: AsExpression<TsQuery>>(
        self,
        other: T
    ) -> ContainedBy<Self, T::Expression> { ... }
}

Provided Methods§

source

fn matches<T: AsExpression<TsVector>>( self, other: T ) -> Matches<Self, T::Expression>

source

fn and<T: AsExpression<TsQuery>>(self, other: T) -> And<Self, T::Expression>

source

fn or<T: AsExpression<TsQuery>>(self, other: T) -> Or<Self, T::Expression>

source

fn contains<T: AsExpression<TsQuery>>( self, other: T ) -> Contains<Self, T::Expression>

source

fn contained_by<T: AsExpression<TsQuery>>( self, other: T ) -> ContainedBy<Self, T::Expression>

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Expression<SqlType = TsQuery>> TsQueryExtensions for T