Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

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

Angelico8314eeebe909
diff --git a/web/docs/library/get.mdx b/web/docs/library/get.mdx
index 36f6162ea32..32ee6458532 100644
--- a/web/docs/library/get.mdx
+++ b/web/docs/library/get.mdx
@@ -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.
----
diff --git a/web/docs/library/post.mdx b/web/docs/library/post.mdx
index 58afddd90b3..55a5d6c0b44 100644
--- a/web/docs/library/post.mdx
+++ b/web/docs/library/post.mdx
@@ -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