Trait diesel::query_dsl::methods::ThenOrderDsl

source ·
pub trait ThenOrderDsl<Expr> {
    type Output;

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

The then_order_by 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 then_order_by from generic code.

Required Associated Types§

source

type Output

The type returned by .then_order_by.

Required Methods§

source

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

See the trait documentation.

Implementors§

source§

impl<F, S, D, W, LOf, G, LC, Expr> ThenOrderDsl<Expr> for SelectStatement<F, S, D, W, NoOrderClause, LOf, G, LC>
where Expr: Expression, Self: OrderDsl<Expr>,

source§

type Output = <SelectStatement<F, S, D, W, NoOrderClause, LOf, G, LC> as OrderDsl<Expr>>::Output

source§

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

source§

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

source§

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

source§

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