withOrderBy method

MssqlQueryState withOrderBy(
  1. List<MssqlOrder> ordering
)

A copy with ordering replacing orderBy.

Implementation

MssqlQueryState withOrderBy(List<MssqlOrder> ordering) => MssqlQueryState(
  scope: scope,
  where: where,
  orderBy: List<MssqlOrder>.unmodifiable(ordering),
  options: options,
  ctes: ctes,
);