BuildShip Logo
BuildShip Community

Add/Update Rows In Supabase

Adds or updates multiple rows in a specified Supabase table. Accepts a table name and an array of record objects (with or without primary keys) as input, performs upsert operations using Supabase, and returns the operation status and the resulting data. The process uses Supabase’s upsert API to handle both insertions and updates in one step.

8

Report this template

Select the reason for reporting

Describe the issue in detail

Share template

Link to template

https://templates.buildship.com/template/RupQ0docO8VD/

Inputs

table

records

Editor
This is a static example using sample inputs. Remix the template to run it with your own values.

Output