Skip to content

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

Update supabase_dart_v1.yml to fix typo in upsert with constraints

Maximilian Fornaçon83d4b2bc305f
diff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.yml
index b9c9eebb313..8b5cdf5c014 100644
--- a/spec/supabase_dart_v1.yml
+++ b/spec/supabase_dart_v1.yml
@@ -992,7 +992,7 @@ functions:
```dart
await supabase
.from('users')
- .upsert({ 'username': 'supabot' }, { 'onConflict': 'username' });
+ .upsert({ 'username': 'supabot' }, onConflict: 'username');
```
- id: return-the-exact-number-of-rows
name: Return the exact number of rows