SupabaseCliQueryable class
A Queryable that runs its queries through supabase db query, so the
Supabase CLI resolves and authenticates the connection.
All queries go out as one statement that aggregates each result with
json_agg, one round trip per introspection.
- Implemented types
Constructors
- SupabaseCliQueryable(DatabaseTarget target, {String executable = 'supabase'})
-
Creates a Queryable for
targetusing theexecutableonPATH.const
Properties
- executable → String
-
The Supabase CLI binary.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → DatabaseTarget
-
Where to connect.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
query(
Map< String, String> queries) → Future<Map< String, List< >Map< >String, dynamic> > -
Runs every SQL statement in
queriesand returns its rows, as column name to value maps, under the same key.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited