From 836623dd0ffaf33741476a66dc427a6757b77fa4 Mon Sep 17 00:00:00 2001 From: Gustavo Santos <53129852+gefgu@users.noreply.github.com> Date: Tue, 7 Feb 2023 12:15:02 +0000 Subject: [PATCH] fix/dart-docs-order-ascending --- spec/supabase_dart_v1.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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> 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> 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