Skip to main content

ordering

Function ordering 

Source
pub fn ordering<'a, C, QS, DB>(
    column: C,
    sort_key: SortKey,
) -> BoxedOrdering<'a, QS, DB>
where DB: Backend, C: ExpressionMethods, Asc<C>: BoxableExpression<QS, DB, SqlType = NotSelectable> + 'a, Desc<C>: BoxableExpression<QS, DB, SqlType = NotSelectable> + 'a,
Expand description

The ordering column ASC or column DESC for a sort key of the model.