Skip to content

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

fix(docs js): upsert true in replace example

Gustavo Santos03643dc32b54
diff --git a/spec/supabase_js_v2.yml b/spec/supabase_js_v2.yml
index 4283df18eca..23af1eee382 100644
--- a/spec/supabase_js_v2.yml
+++ b/spec/supabase_js_v2.yml
@@ -4421,7 +4421,7 @@ functions:
.from('avatars')
.update('public/avatar1.png', avatarFile, {
cacheControl: '3600',
- upsert: false
+ upsert: true
})
```
- id: update-file-using-arraybuffer-from-base64-file-data