Skip to content

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

fix/dart-docs-order-ascending

Gustavo Santos836623dd0ffa
diff --git a/spec/supabase_dart_v1.yml b/spec/supabase_dart_v1.yml
index 72e079bb08b..a2f4a2eeae4 100644
--- a/spec/supabase_dart_v1.yml
+++ b/spec/supabase_dart_v1.yml
@@ -907,7 +907,7 @@ functions:
```dart
supabase.from('countries')
.stream(primaryKey: ['id'])
- .order('name', ascending: true)
+ .order('name', { ascending: true })
.listen((List<Map<String, dynamic>> data) {
// Do something awesome with the data
});
@@ -918,7 +918,7 @@ functions:
```dart
supabase.from('countries')
.stream(primaryKey: ['id'])
- .order('name', ascending: true)
+ .order('name', { ascending: true })
.limit(10)
.listen((List<Map<String, dynamic>> data) {
// Do something awesome with the data
@@ -1334,7 +1334,7 @@ functions:
final data = await supabase
.from('cities')
.select('name, country_id')
- .order('id', ascending: false );
+ .order('id', { ascending: false });
```
- id: with-embedded-resources
name: With embedded resources