mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Remove empty object
I copy paste that example in my code and I didn't understand why count was `null`. In the current example, it looks like 3 arguments are accepted.
This commit is contained in:
1 parent
5c956a0db1
commit
9edd79ab11
1 file changed
+1
-1
@@ -548,7 +548,7 @@ pages:
|
||||
```js
|
||||
const { data, error, count } = await supabase
|
||||
.from('cities')
|
||||
.select('name', {}, { count: 'exact' }) // if you don't want to return any rows, you can use { count: 'exact', head: true }
|
||||
.select('name', { count: 'exact' }) // if you don't want to return any rows, you can use { count: 'exact', head: true }
|
||||
```
|
||||
- name: Querying JSON data
|
||||
description: |
|
||||
|
||||
Reference in new issue
Block a user