A provider for SupabaseContext. Everything must be wrapped in this.
The context that contains the Supabase Client
Deletes data from a supabase table.
Name of the table you want to delete from
Eq to compare your type
A list of rows that were deleted, and the function to delete them
Inserts data into a supabase table.
The name of the table you want to insert into
An Eq for your data type
The result of the request and a function to execute the insertion
Signs in a user.
The result of the signing in, and a function to sign a user in.
Signs out a user.
The result of the signing out, and a function to sign a user out.
Gets a single row from a supabase table.
The table name to get a row from
Arguments for a select query
A filter for your query
An Eq for your data type
A single row, and a function to reexecute the query
Gets the current supabase client.
A SupabaseClient
, if it exists
Gets many rows from a supabase table.
The table name to get rows from
Arguments for a select query
A filter for your query
An Eq for your data type
Rows that match your filter, or all rows if there is no filter, and a function to reexecute the query
Updates some rows from a supabase table.
The table name to update inside of
An Eq for your data type
The rows that were updated, and a function to execute the update.
Upserts into a supabase table.
The table name to upsert into
The rows that were updated
Returns the current logged in user, or None
if no one is logged in
Returns true
if a user is logged in
Generated using TypeDoc
A function that takes a query and filters it