From 8314eeebe90903ff9a0aee9383de0dfc135deffc Mon Sep 17 00:00:00 2001 From: Angelico Date: Tue, 11 Feb 2020 17:54:14 +0800 Subject: [PATCH] Boyscout: update documentation to reflect changes to @supabase/postgrest-js --- web/docs/library/get.mdx | 2 +- web/docs/library/post.mdx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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