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

Retrieve zero or one row of data

Retrieves only one row from the result if there is one.

Inheritance

Constructors

SupaMaybeSingleModifier(SupaModifier<B, R, dynamic, PostgrestTransformBuilder<List<Map<String, dynamic>>>, PostgrestBuilder>? previousModifier)
Retrieve zero or one row of data
const

Properties

hashCode int
The hash code for this object.
no setterinherited
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<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