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:
Jérôme Pott authored and GitHub committed 2021-09-11 12:08:01 +02:00
1 parent 5c956a0db1
commit 9edd79ab11
1 file changed
+1 -1
+1 -1
View File
@@ -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: |