orderBy method
- ComposableOrdering o(
- $OrderingComposer o
Add ordering to the statement
Implementation
ProcessedTableManager<
$Database,
$Table,
$Dataclass,
$FilterComposer,
$OrderingComposer,
$CreateCompanionCallback,
$UpdateCompanionCallback,
$DataclassWithReferences,
$ActiveDataclass,
$CreatePrefetchHooksCallback>
orderBy(ComposableOrdering Function($OrderingComposer o) o) {
final orderings = o($state.orderingComposer);
return ProcessedTableManager($state.copyWith(
orderingBuilders:
$state.orderingBuilders.union(orderings.orderingBuilders),
joinBuilders: $state.joinBuilders.union(orderings.joinBuilders)));
}