[][src]Trait diesel::query_dsl::methods::OrderDsl

pub trait OrderDsl<Expr: Expression> {
    type Output;
    fn order(self, expr: Expr) -> Self::Output;

The order method

This trait should not be relied on directly by most apps. Its behavior is provided by QueryDsl. However, you may need a where clause on this trait to call order from generic code.

Associated Types

type Output

The type returned by .order.

Loading content...

Required methods

fn order(self, expr: Expr) -> Self::Output

See the trait documentation.

Loading content...


impl<T, Expr> OrderDsl<Expr> for T where
    Expr: Expression,
    T: Table,
    T::Query: OrderDsl<Expr>, 

type Output = <T::Query as OrderDsl<Expr>>::Output

Loading content...