From 2f59fccd53168731fa730aab248acdd320fae021 Mon Sep 17 00:00:00 2001 From: Bobbie Soedirgo Date: Sat, 14 Nov 2020 04:22:50 +0800 Subject: [PATCH] docs: fix docs for `filter` --- web/docs/client/filter.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/docs/client/filter.mdx b/web/docs/client/filter.mdx index 695bffd7c06..35ea092e4ae 100644 --- a/web/docs/client/filter.mdx +++ b/web/docs/client/filter.mdx @@ -197,7 +197,7 @@ const { data, error } = await supabase const { data, error } = await supabase .from('cities') .delete() - .filter({'name', 'eq', 'Paris'}) + .filter('name', 'eq', 'Paris') ``` @@ -228,7 +228,7 @@ const { data, error } = await supabase // Only valid if the Stored Procedure returns a table type. const { data, error } = await supabase .rpc('echo_all_cities') - .filter({'name', 'eq', 'Paris'}) + .filter('name', 'eq', 'Paris') ``` @@ -275,4 +275,4 @@ const { data, error } = await supabase - \ No newline at end of file +