Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update Upsert Documentation

Greg Garnhart7d634156ba05
diff --git a/web/spec/supabase.yml b/web/spec/supabase.yml
index b76735436dd..4d699821049 100644
--- a/web/spec/supabase.yml
+++ b/web/spec/supabase.yml
@@ -658,6 +658,10 @@ pages:
.upsert({ id: 3, message: 'foo', username: 'supabot' })
```
- name: Upserting into tables with constraints
+ description: |
+ Running the following will cause supabase to upsert data into the `users` table.
+ If the username 'supabot' already exists, the `onConflict` argument tells supabase to overwrite that row
+ based on the column passed into `onConflict`.
isSpotlight: true
js: |
```js