The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
added bulk upsert example
DSK0ae5b5e96b3e
diff --git a/web/spec/supabase.yml b/web/spec/supabase.ymlindex 58fed6b5e8c..eafe2ae8b5a 100644--- a/web/spec/supabase.yml+++ b/web/spec/supabase.yml@@ -675,6 +675,17 @@ pages:.from('messages').upsert({ id: 3, message: 'foo', username: 'supabot' })```+ - name: Bulk Upsert your data+ isSpotlight: true+ js: |+ ```js+ const { data, error } = await supabase+ .from('messages')+ .upsert([+ { id: 3, message: 'foo', username: 'supabot' },+ { id: 4, message: 'bar', username: 'supabot' }+ ])+ ```- name: Upserting into tables with constraintsdescription: |Running the following will cause supabase to upsert data into the `users` table.