diesel::query_dsl::methods

Trait OrderDsl

Source
pub trait OrderDsl<Expr: Expression> {
    type Output;

    // Required method
    fn order(self, expr: Expr) -> Self::Output;
}
Expand description

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.

Required Associated Types§

Source

type Output

The type returned by .order.

Required Methods§

Source

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

See the trait documentation.

Implementors§

Source§

impl<S, Expr> OrderDsl<Expr> for Alias<S>
where Expr: Expression, Self: AsQuery, <Self as AsQuery>::Query: OrderDsl<Expr>,

Source§

type Output = <<Alias<S> as AsQuery>::Query as OrderDsl<Expr>>::Output

Source§

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

Source§

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