Trait diesel::prelude::WithDsl [] [src]

pub trait WithDsl<'a, Expr> {
    type Output: AsQuery;
    fn with(self, expr: Aliased<'a, Expr>) -> Self::Output;
}

Adds an additional expression to the FROM clause. This is useful for things like full text search, where you need to access the result of an expensive computation for the where clause that shouldn't be redone for each row, such as plain_to_tsquery. See .aliased for more

Associated Types

Required Methods

Implementors