SupaOrderModifier<B extends SupaCore, R extends SupaRecord<B>> constructor

  1. @internal
const SupaOrderModifier<B extends SupaCore, R extends SupaRecord<B>>(
  1. SupaColumn<B, dynamic, dynamic> column,
  2. bool ascending,
  3. bool nullsFirst,
  4. SupaModifier<B, R, dynamic, PostgrestTransformBuilder<List<Map<String, dynamic>>>, PostgrestBuilder>? previousModifier,
)

Order the results

Orders the result with the specified column.

column: The column to order by.

ascending: Whether to order in ascending order.

nullsFirst: Whether to order nulls first.

Implementation

@internal
const SupaOrderModifier(
  this.column,
  this.ascending,
  this.nullsFirst,
  super.previousModifier,
);