orderBy method

Query<R, F> orderBy(
  1. List<OrderTerm> order(
    1. F
    )
)

Replaces the query's ordering with the supplied expressions.

Implementation

Query<R, F> orderBy(List<OrderTerm> Function(F) order) =>
    copyQuery(queryState.copy(order: List.unmodifiable(order(queryFields))));