Boyscout: update documentation to reflect changes to @supabase/postgrest-js

This commit is contained in:
Angelico committed 2020-02-11 17:54:14 +08:00
1 parent 153b8a7820
commit 8314eeebe9
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -236,7 +236,7 @@ supabase
.single()
```
Returns the first row of the table as an object and **not** as an array.
Returns only the first row of the table.
----
+2 -2
View File
@@ -56,8 +56,8 @@ supabase
.insert(data, options?)
```
#### `data: array`
Array of rows of type `object` which contain information to be saved into the selected table.
#### `data: { array | object }`
A single `object` or an array of rows of type `object` which contain information to be saved into the selected table.
#### `options: object?`
@todo