Skip to contents

Connection

Connect and manage Supabase connections

sb_connect()
Connect to Supabase
sb_disconnect()
Disconnect from Supabase
sb_status()
Get connection status
sb_db_connect()
Connect to Supabase
sb_db_disconnect()
Disconnect from Supabase
sb_db_status()
Check available backends
sb_db_creds()
Read Supabase credentials from environment variables

Read Operations

Query and read data from tables

sb_read()
Read table data
sb_query()
Query a table
sb_tables()
List tables
sb_schema()
Get table schema
sb_table_exists()
Check if table exists
sb_db_read()
Read table data
sb_db_query()
Query a table
sb_db_tables()
List tables in schema
sb_db_schema()
Get table schema
sb_db_table_exists()
Check if table exists

Write Operations

Insert, update, delete, and upsert data

sb_insert()
Insert rows into a table
sb_update()
Update rows in a table
sb_delete()
Delete rows from a table
sb_upsert()
Upsert rows into a table
sb_truncate()
Truncate a table
sb_db_insert()
Insert rows into a table
sb_db_update()
Update rows in a table
sb_db_delete()
Delete rows from a table
sb_db_upsert()
Upsert rows into a table
sb_db_truncate()
Truncate a table