SupaModifier<B extends SupaCore, R extends SupaRecord<B> , T, O extends PostgrestBuilder, I extends PostgrestBuilder> class
Represents a modifier that can be applied to a Supabase query.
Filters work on the row level. That is, they allow you to return rows that only match certain conditions without changing the shape of the rows. Modifiers are everything that don't fit that definition—allowing you to change the format of the response (e.g., returning a CSV string).
Modifiers must be specified after filters.
B
is the core class of the table.
R
is the type of the record.
T
is the type of the response after the modifier is applied.
O
is the type of the PostgrestBuilder after the modifier is applied.
I
is the type of the PostgrestBuilder before the modifier is
applied.
Constructors
-
SupaModifier(SupaModifier<
B, R, dynamic, I, PostgrestBuilder> ? previousModifier) -
Represents a modifier that can be applied to a Supabase query.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
previousModifier
→ SupaModifier<
B, R, dynamic, I, PostgrestBuilder> ? -
The modifier that was applied before this one.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
I builder) → O -
Cascades the Supabase modifier onto the provided
builder
. -
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