SupaModifier<B extends SupaCore, R extends SupaRecord<B>, T, O extends PostgrestBuilder, I extends PostgrestBuilder> constructor

  1. @internal
const SupaModifier<B extends SupaCore, R extends SupaRecord<B>, T, O extends PostgrestBuilder, I extends PostgrestBuilder>(
  1. SupaModifier<B, R, dynamic, I, PostgrestBuilder>? previousModifier
)

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.

Implementation

@internal
const SupaModifier(this.previousModifier);