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

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.

Inheritance

Constructors

SupaOrderModifier(SupaColumn<B, dynamic, dynamic> column, bool ascending, bool nullsFirst, SupaModifier<B, R, dynamic, PostgrestTransformBuilder<List<Map<String, dynamic>>>, PostgrestBuilder>? previousModifier)
Order the results
const

Properties

ascending bool
Whether to order in ascending order.
final
column SupaColumn<B, dynamic, dynamic>
The column to order by.
final
hashCode int
The hash code for this object.
no setterinherited
nullsFirst bool
Whether to order nulls first.
final
previousModifier SupaModifier<B, R, dynamic, PostgrestTransformBuilder<List<Map<String, dynamic>>>, PostgrestBuilder>?
The modifier that was applied before this one.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(PostgrestTransformBuilder<List<Map<String, dynamic>>> builder) → PostgrestTransformBuilder<List<Map<String, dynamic>>>
Cascades the Supabase modifier onto the provided builder.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited