The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Fix autodocs upsert syntax for v2
Terry Suttona4d397bb192e
diff --git a/studio/components/to-be-cleaned/Docs/Snippets.js b/studio/components/to-be-cleaned/Docs/Snippets.jsindex 0357c37a471..4e0568b70c9 100644--- a/studio/components/to-be-cleaned/Docs/Snippets.js+++ b/studio/components/to-be-cleaned/Docs/Snippets.js@@ -162,7 +162,7 @@ const ${listenerName} = supabase.channel('custom-all-channel')code: `const ${listenerName} = supabase.channel('custom-insert-channel').on(- 'postgres_changes',+ 'postgres_changes',{ event: 'INSERT', schema: 'public', table: '${resourceId}' },(payload) => {console.log('Change received!', payload)@@ -423,7 +423,7 @@ curl -X POST '${endpoint}/rest/v1/${resourceId}' \\code: `const { data, error } = await supabase.from('${resourceId}')- .insert([{ some_column: 'someValue' }], { upsert: true })+ .upsert({ some_column: 'someValue' }).select()`,},}),