db_upsert
Insert or update rows in a Supabase table using conflict resolution. Handles single or multiple records in one operation.
Instructions
Insert or update rows (upsert) in a table
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Data to upsert (single row as object or array of objects) | |
| table | Yes | Table name to upsert into | |
| returning | No | Columns to return (comma-separated, default: *) | * |
| on_conflict | No | Column(s) to check for conflicts (comma-separated) |