diesel::query_dsl::methods

Trait 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