The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
docs: Adds the edit URL for all Supabase lib docs
Paul Copplestone3f28d10738bd
diff --git a/web/docs/client/adj.mdx b/web/docs/client/adj.mdxindex fe5f063fc95..682e8c1119d 100644--- a/web/docs/client/adj.mdx+++ b/web/docs/client/adj.mdx@@ -2,6 +2,7 @@id: adjtitle: ".adj()"slug: adj+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The range to filter with.-+</div></li>diff --git a/web/docs/client/auth-onauthstatechange.mdx b/web/docs/client/auth-onauthstatechange.mdxindex 5ddcb12aaca..b1b251f8145 100644--- a/web/docs/client/auth-onauthstatechange.mdx+++ b/web/docs/client/auth-onauthstatechange.mdx@@ -2,6 +2,7 @@id: auth-onauthstatechangetitle: "auth.onAuthStateChange()"slug: auth-onauthstatechange+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -55,7 +56,7 @@ supabase.auth.onAuthStateChange((event, session) => {<div class="method-list-item-description">No description provided.-+</div></li>diff --git a/web/docs/client/auth-session.mdx b/web/docs/client/auth-session.mdxindex 6081c408e3b..8992d282160 100644--- a/web/docs/client/auth-session.mdx+++ b/web/docs/client/auth-session.mdx@@ -2,6 +2,7 @@id: auth-sessiontitle: "auth.session()"slug: auth-session+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/auth-signin.mdx b/web/docs/client/auth-signin.mdxindex e9e80e37964..fd7b6fa5253 100644--- a/web/docs/client/auth-signin.mdx+++ b/web/docs/client/auth-signin.mdx@@ -2,6 +2,7 @@id: auth-signintitle: "auth.signIn()"slug: auth-signin+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { user, error } = await supabase.auth.signIn({<div class="method-list-item-description">The user login details.-+</div><ul className="method-list-group">@@ -77,7 +78,7 @@ The user login details.<div class="method-list-item-description">The user's email address.-+</div></li>@@ -98,7 +99,7 @@ The user's email address.<div class="method-list-item-description">The user's password.-+</div></li>@@ -119,7 +120,7 @@ The user's password.<div class="method-list-item-description">One of the providers supported by GoTrue.-+</div></li>diff --git a/web/docs/client/auth-signout.mdx b/web/docs/client/auth-signout.mdxindex ad157d34784..d03fe848017 100644--- a/web/docs/client/auth-signout.mdx+++ b/web/docs/client/auth-signout.mdx@@ -2,6 +2,7 @@id: auth-signouttitle: "auth.signOut()"slug: auth-signout+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/auth-signup.mdx b/web/docs/client/auth-signup.mdxindex 4d92408d5e9..2bad085dd8f 100644--- a/web/docs/client/auth-signup.mdx+++ b/web/docs/client/auth-signup.mdx@@ -2,6 +2,7 @@id: auth-signuptitle: "auth.signUp()"slug: auth-signup+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { user, error } = await supabase.auth.signUp({<div class="method-list-item-description">The user login details.-+</div><ul className="method-list-group">@@ -77,7 +78,7 @@ The user login details.<div class="method-list-item-description">The user's password.-+</div></li>@@ -98,7 +99,7 @@ The user's password.<div class="method-list-item-description">The user's email address.-+</div></li>diff --git a/web/docs/client/auth-update.mdx b/web/docs/client/auth-update.mdxindex d42f65c1d79..daef20bfccb 100644--- a/web/docs/client/auth-update.mdx+++ b/web/docs/client/auth-update.mdx@@ -2,6 +2,7 @@id: auth-updatetitle: "auth.update()"slug: auth-update+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -55,7 +56,7 @@ const { user, error } = await supabase.auth.update({<div class="method-list-item-description">No description provided.-+</div></li>diff --git a/web/docs/client/auth-user.mdx b/web/docs/client/auth-user.mdxindex 4b37b53dfdc..3858ffc50b5 100644--- a/web/docs/client/auth-user.mdx+++ b/web/docs/client/auth-user.mdx@@ -2,6 +2,7 @@id: auth-usertitle: "auth.user()"slug: auth-user+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/cd.mdx b/web/docs/client/cd.mdxindex cb836d51c55..b88be48a673 100644--- a/web/docs/client/cd.mdx+++ b/web/docs/client/cd.mdx@@ -2,6 +2,7 @@id: cdtitle: ".cd()"slug: cd+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/cs.mdx b/web/docs/client/cs.mdxindex 5c777a2b77b..cd661bd3a05 100644--- a/web/docs/client/cs.mdx+++ b/web/docs/client/cs.mdx@@ -2,6 +2,7 @@id: cstitle: ".cs()"slug: cs+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/delete.mdx b/web/docs/client/delete.mdxindex 090eaa9e835..c967b5d0bda 100644--- a/web/docs/client/delete.mdx+++ b/web/docs/client/delete.mdx@@ -2,6 +2,7 @@id: deletetitle: "Delete data: delete()"slug: delete+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { data, error } = await supabase<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -77,7 +78,7 @@ No description provided.<div class="method-list-item-description">If `true`, return the deleted row(s) in the response.-+</div></li>diff --git a/web/docs/client/eq.mdx b/web/docs/client/eq.mdxindex da93e183874..38c8675bdb9 100644--- a/web/docs/client/eq.mdx+++ b/web/docs/client/eq.mdx@@ -2,6 +2,7 @@id: eqtitle: ".eq()"slug: eq+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/filter.mdx b/web/docs/client/filter.mdxindex 7a5e0ed953b..cd73faa1a5a 100644--- a/web/docs/client/filter.mdx+++ b/web/docs/client/filter.mdx@@ -2,6 +2,7 @@id: filtertitle: ".filter()"slug: filter+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -77,7 +78,7 @@ The column to filter on.<div class="method-list-item-description">The operator to filter with.-+</div></li>@@ -98,7 +99,7 @@ The operator to filter with.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/fts.mdx b/web/docs/client/fts.mdxindex 63f9552a66b..51db8fa532b 100644--- a/web/docs/client/fts.mdx+++ b/web/docs/client/fts.mdx@@ -2,6 +2,7 @@id: ftstitle: ".fts()"slug: fts+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -32,7 +33,7 @@ to_tsquery(`query`).<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -53,7 +54,7 @@ The column to filter on.<div class="method-list-item-description">The Postgres tsquery string to filter with.-+</div></li>@@ -74,7 +75,7 @@ The Postgres tsquery string to filter with.<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -95,7 +96,7 @@ No description provided.<div class="method-list-item-description">The text search configuration to use.-+</div></li>diff --git a/web/docs/client/generating-types.mdx b/web/docs/client/generating-types.mdxindex e7a673c3a72..e3a600c46c9 100644--- a/web/docs/client/generating-types.mdx+++ b/web/docs/client/generating-types.mdx@@ -2,6 +2,7 @@id: generating-typestitle: "Generating Types"slug: generating-types+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/getsubscriptions.mdx b/web/docs/client/getsubscriptions.mdxindex 27763f4bd1b..5ce1b38e6eb 100644--- a/web/docs/client/getsubscriptions.mdx+++ b/web/docs/client/getsubscriptions.mdx@@ -2,6 +2,7 @@id: getsubscriptionstitle: "getSubscriptions()"slug: getsubscriptions+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/gt.mdx b/web/docs/client/gt.mdxindex 7f0615d6b4d..8ebde784fa2 100644--- a/web/docs/client/gt.mdx+++ b/web/docs/client/gt.mdx@@ -2,6 +2,7 @@id: gttitle: ".gt()"slug: gt+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/gte.mdx b/web/docs/client/gte.mdxindex 325b0deadea..ddd3f9916bb 100644--- a/web/docs/client/gte.mdx+++ b/web/docs/client/gte.mdx@@ -2,6 +2,7 @@id: gtetitle: ".gte()"slug: gte+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/ilike.mdx b/web/docs/client/ilike.mdxindex 5ebea0a8751..9f3f0e0829e 100644--- a/web/docs/client/ilike.mdx+++ b/web/docs/client/ilike.mdx@@ -2,6 +2,7 @@id: iliketitle: ".ilike()"slug: ilike+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The pattern to filter with.-+</div></li>diff --git a/web/docs/client/in.mdx b/web/docs/client/in.mdxindex adf8e9b7ea3..4111366841e 100644--- a/web/docs/client/in.mdx+++ b/web/docs/client/in.mdx@@ -2,6 +2,7 @@id: intitle: ".in()"slug: in+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The values to filter with.-+</div></li>diff --git a/web/docs/client/index.mdx b/web/docs/client/index.mdxindex 65e2a8c6a12..123cec04ee6 100644--- a/web/docs/client/index.mdx+++ b/web/docs/client/index.mdx@@ -2,6 +2,7 @@id: indextitle: "Supabase Client"slug: supabase-client+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/initializing.mdx b/web/docs/client/initializing.mdxindex 69eb273e4de..99a9f5974d2 100644--- a/web/docs/client/initializing.mdx+++ b/web/docs/client/initializing.mdx@@ -2,6 +2,7 @@id: initializingtitle: "Initializing"slug: initializing+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -32,7 +33,7 @@ You can initialize a new Supabase client using the `createClient()` method.<div class="method-list-item-description">The unique Supabase URL which is supplied when you create a new project in your project dashboard.-+</div></li>@@ -53,7 +54,7 @@ The unique Supabase URL which is supplied when you create a new project in your<div class="method-list-item-description">The unique Supabase Key which is supplied when you create a new project in your project dashboard.-+</div></li>@@ -74,7 +75,7 @@ The unique Supabase Key which is supplied when you create a new project in your<div class="method-list-item-description">No description provided.-+</div></li>diff --git a/web/docs/client/insert.mdx b/web/docs/client/insert.mdxindex bce73402b30..21c66a08980 100644--- a/web/docs/client/insert.mdx+++ b/web/docs/client/insert.mdx@@ -2,6 +2,7 @@id: inserttitle: "Create data: insert()"slug: insert+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The values to insert.-+</div></li>@@ -78,7 +79,7 @@ The values to insert.<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -99,7 +100,7 @@ No description provided.<div class="method-list-item-description">If `true`, performs an UPSERT.-+</div></li>@@ -120,7 +121,7 @@ If `true`, performs an UPSERT.<div class="method-list-item-description">By default the new record is returned. Set this to 'minimal' if you don't need this value.-+</div></li>@@ -141,7 +142,7 @@ By default the new record is returned. Set this to 'minimal' if you don't need t<div class="method-list-item-description">By specifying the `on_conflict` query parameter, you can make UPSERT work on a column(s) that has a UNIQUE constraint.-+</div></li>diff --git a/web/docs/client/installing.mdx b/web/docs/client/installing.mdxindex 95da647fb0f..ceac31b4cbe 100644--- a/web/docs/client/installing.mdx+++ b/web/docs/client/installing.mdx@@ -2,6 +2,7 @@id: installingtitle: "Installing"slug: installing+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/is.mdx b/web/docs/client/is.mdxindex deb1d2dc242..6c0160d1891 100644--- a/web/docs/client/is.mdx+++ b/web/docs/client/is.mdx@@ -2,6 +2,7 @@id: istitle: ".is()"slug: is+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/like.mdx b/web/docs/client/like.mdxindex 8e5ee79eb80..bb227bd8102 100644--- a/web/docs/client/like.mdx+++ b/web/docs/client/like.mdx@@ -2,6 +2,7 @@id: liketitle: ".like()"slug: like+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The pattern to filter with.-+</div></li>diff --git a/web/docs/client/limit.mdx b/web/docs/client/limit.mdxindex b663ca71689..c0c865fb267 100644--- a/web/docs/client/limit.mdx+++ b/web/docs/client/limit.mdx@@ -2,6 +2,7 @@id: limittitle: "limit()"slug: limit+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The maximum no. of rows to limit to.-+</div></li>@@ -77,7 +78,7 @@ The maximum no. of rows to limit to.<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -98,7 +99,7 @@ No description provided.<div class="method-list-item-description">The foreign table to use (for foreign columns).-+</div></li>diff --git a/web/docs/client/lt.mdx b/web/docs/client/lt.mdxindex 9127a3f27cb..1701b79698a 100644--- a/web/docs/client/lt.mdx+++ b/web/docs/client/lt.mdx@@ -2,6 +2,7 @@id: lttitle: ".lt()"slug: lt+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/lte.mdx b/web/docs/client/lte.mdxindex d5a442bb230..d998d7a999d 100644--- a/web/docs/client/lte.mdx+++ b/web/docs/client/lte.mdx@@ -2,6 +2,7 @@id: ltetitle: ".lte()"slug: lte+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/match.mdx b/web/docs/client/match.mdxindex 2147f438200..05c232ea63e 100644--- a/web/docs/client/match.mdx+++ b/web/docs/client/match.mdx@@ -2,6 +2,7 @@id: matchtitle: ".match()"slug: match+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabaseThe object to filter with, with column names as keys mappedto their filter values.-+</div></li>diff --git a/web/docs/client/neq.mdx b/web/docs/client/neq.mdxindex f812cad6050..3818838ebdd 100644--- a/web/docs/client/neq.mdx+++ b/web/docs/client/neq.mdx@@ -2,6 +2,7 @@id: neqtitle: ".neq()"slug: neq+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/not.mdx b/web/docs/client/not.mdxindex 6e870053c0b..a07edf1d392 100644--- a/web/docs/client/not.mdx+++ b/web/docs/client/not.mdx@@ -2,6 +2,7 @@id: nottitle: ".not()"slug: not+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -77,7 +78,7 @@ The column to filter on.<div class="method-list-item-description">The operator to filter with.-+</div></li>@@ -98,7 +99,7 @@ The operator to filter with.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/nxl.mdx b/web/docs/client/nxl.mdxindex f9a9d3d8978..1787708f89f 100644--- a/web/docs/client/nxl.mdx+++ b/web/docs/client/nxl.mdx@@ -2,6 +2,7 @@id: nxltitle: ".nxl()"slug: nxl+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The range to filter with.-+</div></li>diff --git a/web/docs/client/nxr.mdx b/web/docs/client/nxr.mdxindex 8699b550d10..6c57328e948 100644--- a/web/docs/client/nxr.mdx+++ b/web/docs/client/nxr.mdx@@ -2,6 +2,7 @@id: nxrtitle: ".nxr()"slug: nxr+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The range to filter with.-+</div></li>diff --git a/web/docs/client/or.mdx b/web/docs/client/or.mdxindex 69480986970..8a9e3de7388 100644--- a/web/docs/client/or.mdx+++ b/web/docs/client/or.mdx@@ -2,6 +2,7 @@id: ortitle: ".or()"slug: or+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The filters to use, separated by commas.-+</div></li>diff --git a/web/docs/client/order.mdx b/web/docs/client/order.mdxindex b15d1bf4a24..bf22db754f2 100644--- a/web/docs/client/order.mdx+++ b/web/docs/client/order.mdx@@ -2,6 +2,7 @@id: ordertitle: "order()"slug: order+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to order on.-+</div></li>@@ -77,7 +78,7 @@ The column to order on.<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -98,7 +99,7 @@ No description provided.<div class="method-list-item-description">If `true`, `null`s appear first.-+</div></li>@@ -119,7 +120,7 @@ If `true`, `null`s appear first.<div class="method-list-item-description">The foreign table to use (if `column` is a foreign column).-+</div></li>@@ -140,7 +141,7 @@ The foreign table to use (if `column` is a foreign column).<div class="method-list-item-description">If `true`, the result will be in ascending order.-+</div></li>diff --git a/web/docs/client/ov.mdx b/web/docs/client/ov.mdxindex f407cc305a6..d948e295b7c 100644--- a/web/docs/client/ov.mdx+++ b/web/docs/client/ov.mdx@@ -2,6 +2,7 @@id: ovtitle: ".ov()"slug: ov+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The value to filter with.-+</div></li>diff --git a/web/docs/client/phfts.mdx b/web/docs/client/phfts.mdxindex ba60cf50121..7030f4e076c 100644--- a/web/docs/client/phfts.mdx+++ b/web/docs/client/phfts.mdx@@ -2,6 +2,7 @@id: phftstitle: ".phfts()"slug: phfts+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -32,7 +33,7 @@ phraseto_tsquery(`query`).<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -53,7 +54,7 @@ The column to filter on.<div class="method-list-item-description">The Postgres tsquery string to filter with.-+</div></li>@@ -74,7 +75,7 @@ The Postgres tsquery string to filter with.<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -95,7 +96,7 @@ No description provided.<div class="method-list-item-description">The text search configuration to use.-+</div></li>diff --git a/web/docs/client/plfts.mdx b/web/docs/client/plfts.mdxindex 86344a9c43f..a87e241600a 100644--- a/web/docs/client/plfts.mdx+++ b/web/docs/client/plfts.mdx@@ -2,6 +2,7 @@id: plftstitle: ".plfts()"slug: plfts+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -32,7 +33,7 @@ plainto_tsquery(`query`).<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -53,7 +54,7 @@ The column to filter on.<div class="method-list-item-description">The Postgres tsquery string to filter with.-+</div></li>@@ -74,7 +75,7 @@ The Postgres tsquery string to filter with.<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -95,7 +96,7 @@ No description provided.<div class="method-list-item-description">The text search configuration to use.-+</div></li>diff --git a/web/docs/client/range.mdx b/web/docs/client/range.mdxindex 47c8b1d28cd..b26261daa15 100644--- a/web/docs/client/range.mdx+++ b/web/docs/client/range.mdx@@ -2,6 +2,7 @@id: rangetitle: "range()"slug: range+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The starting index from which to limit the result, inclusive.-+</div></li>@@ -77,7 +78,7 @@ The starting index from which to limit the result, inclusive.<div class="method-list-item-description">The last index to which to limit the result, inclusive.-+</div></li>@@ -98,7 +99,7 @@ The last index to which to limit the result, inclusive.<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -119,7 +120,7 @@ No description provided.<div class="method-list-item-description">The foreign table to use (for foreign columns).-+</div></li>diff --git a/web/docs/client/removesubscription.mdx b/web/docs/client/removesubscription.mdxindex 688689d27b9..6055b7d4f09 100644--- a/web/docs/client/removesubscription.mdx+++ b/web/docs/client/removesubscription.mdx@@ -2,6 +2,7 @@id: removesubscriptiontitle: "removeSubscription()"slug: removesubscription+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -53,7 +54,7 @@ supabase.removeSubscription(mySubscription)<div class="method-list-item-description">The subscription you want to remove.-+</div></li>diff --git a/web/docs/client/reset-password-email.mdx b/web/docs/client/reset-password-email.mdxindex 9524b1668f4..80cad31d8c7 100644--- a/web/docs/client/reset-password-email.mdx+++ b/web/docs/client/reset-password-email.mdx@@ -2,6 +2,7 @@id: reset-password-emailtitle: "Reset Password (Email)"slug: reset-password-email+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -53,7 +54,7 @@ const { data, error } = supabase.auth.api.resetPasswordForEmail('[email protected]'<div class="method-list-item-description">The email address of the user.-+</div></li>diff --git a/web/docs/client/rpc.mdx b/web/docs/client/rpc.mdxindex e4fe5fabe89..3d11af499ca 100644--- a/web/docs/client/rpc.mdx+++ b/web/docs/client/rpc.mdx@@ -2,6 +2,7 @@id: rpctitle: "Stored Procedures: rpc()"slug: rpc+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -59,7 +60,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The function name to call.-+</div></li>@@ -80,7 +81,7 @@ The function name to call.<div class="method-list-item-description">The parameters to pass to the function call.-+</div></li>diff --git a/web/docs/client/select.mdx b/web/docs/client/select.mdxindex c0a31ead2c3..fbe84d8484d 100644--- a/web/docs/client/select.mdx+++ b/web/docs/client/select.mdx@@ -2,6 +2,7 @@id: selecttitle: "Fetch data: select()"slug: select+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -55,7 +56,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The columns to retrieve, separated by commas.-+</div></li>@@ -218,7 +219,7 @@ const { data, error } = await supabaseIf you have data inside of a JSONB column, you can apply selectand query filters to the data values. Postgres offers a-[number of operators](https://www.postgresql.org/docs/9.5/functions-json.html)+[number of operators](https://www.postgresql.org/docs/current/functions-json.html)for querying JSON data. Also see[PostgREST docs](http://postgrest.org/en/v7.0.0/api.html#json-columns) for more details.@@ -232,12 +233,12 @@ for querying JSON data. Also see```jsconst { data, error } = await supabase- .from('products')+ .from('users').select(`- id,- supplier:supplier_id ( name ),- purchaser:purchaser_id ( name )+ id, name,+ address->street`)+ .eq('address->postcode', 90210)```diff --git a/web/docs/client/single.mdx b/web/docs/client/single.mdxindex a253168ad95..9d9495ea03d 100644--- a/web/docs/client/single.mdx+++ b/web/docs/client/single.mdx@@ -2,6 +2,7 @@id: singletitle: "single()"slug: single+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/sl.mdx b/web/docs/client/sl.mdxindex 6894d2f5fae..509118b4ca6 100644--- a/web/docs/client/sl.mdx+++ b/web/docs/client/sl.mdx@@ -2,6 +2,7 @@id: sltitle: ".sl()"slug: sl+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The range to filter with.-+</div></li>diff --git a/web/docs/client/sr.mdx b/web/docs/client/sr.mdxindex 7b43f568059..c011fe77a94 100644--- a/web/docs/client/sr.mdx+++ b/web/docs/client/sr.mdx@@ -2,6 +2,7 @@id: srtitle: ".sr()"slug: sr+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -57,7 +58,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -78,7 +79,7 @@ The column to filter on.<div class="method-list-item-description">The range to filter with.-+</div></li>diff --git a/web/docs/client/subscribe.mdx b/web/docs/client/subscribe.mdxindex 02307917cdc..85b3dd2a99e 100644--- a/web/docs/client/subscribe.mdx+++ b/web/docs/client/subscribe.mdx@@ -2,6 +2,7 @@id: subscribetitle: "on().subscribe()"slug: subscribe+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -58,7 +59,7 @@ const mySubscription = supabase<div class="method-list-item-description">The database event which you would like to receive updates for, or you can use the special wildcard `*` to listen to all changes.-+</div></li>@@ -79,7 +80,7 @@ The database event which you would like to receive updates for, or you can use t<div class="method-list-item-description">A callback that will handle the payload that is sent whenever your database changes.-+</div></li>diff --git a/web/docs/client/update.mdx b/web/docs/client/update.mdxindex e71446f5c17..e4abbbd59ba 100644--- a/web/docs/client/update.mdx+++ b/web/docs/client/update.mdx@@ -2,6 +2,7 @@id: updatetitle: "Modify data: update()"slug: update+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -56,7 +57,7 @@ const { data, error } = await supabase<div class="method-list-item-description">The values to update.-+</div></li>@@ -77,7 +78,7 @@ The values to update.<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -98,7 +99,7 @@ No description provided.<div class="method-list-item-description">By default the updated record is returned. Set this to 'minimal' if you don't need this value.-+</div></li>@@ -152,6 +153,46 @@ const { data, error } = await supabase```+</TabItem>++</Tabs>++### Updating JSON data++Postgres offers a+[number of operators](https://www.postgresql.org/docs/current/functions-json.html)+for working with JSON data. Right now it is only possible to update an entire JSON document,+but we are [working on ideas](https://github.com/PostgREST/postgrest/issues/465) for updating individual keys.+++<Tabs+ defaultValue="js"+ groupId="libraries"+ values={[{ label: 'JavaScript', value: 'js' },{ label: 'Python', value: 'py' }]}>++<TabItem value="js">++```js+const { data, error } = await supabase+ .from('users')+ .update(`+ address: {+ street: 'Melrose Place',+ postcode: 90210+ }+ `)+ .eq('address->postcode', 90210)+```+++</TabItem>+<TabItem value="py">++```py+# Not yet implemented+```++</TabItem></Tabs>\ No newline at end of filediff --git a/web/docs/client/using-filters.mdx b/web/docs/client/using-filters.mdxindex 78494041e5f..0c5a9fed11f 100644--- a/web/docs/client/using-filters.mdx+++ b/web/docs/client/using-filters.mdx@@ -2,6 +2,7 @@id: using-filterstitle: "Using Filters"slug: using-filters+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/using-modifiers.mdx b/web/docs/client/using-modifiers.mdxindex be03d7183ea..b3fd5411da8 100644--- a/web/docs/client/using-modifiers.mdx+++ b/web/docs/client/using-modifiers.mdx@@ -2,6 +2,7 @@id: using-modifierstitle: "Using Modifiers"slug: using-modifiers+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';diff --git a/web/docs/client/wfts.mdx b/web/docs/client/wfts.mdxindex 066373eba19..795d35414b4 100644--- a/web/docs/client/wfts.mdx+++ b/web/docs/client/wfts.mdx@@ -2,6 +2,7 @@id: wftstitle: ".wfts()"slug: wfts+custom_edit_url: https://github.com/supabase/supabase/edit/master/web/spec/supabase.yml---import Tabs from '@theme/Tabs';@@ -32,7 +33,7 @@ websearch_to_tsquery(`query`).<div class="method-list-item-description">The column to filter on.-+</div></li>@@ -53,7 +54,7 @@ The column to filter on.<div class="method-list-item-description">The Postgres tsquery string to filter with.-+</div></li>@@ -74,7 +75,7 @@ The Postgres tsquery string to filter with.<div class="method-list-item-description">No description provided.-+</div><ul className="method-list-group">@@ -95,7 +96,7 @@ No description provided.<div class="method-list-item-description">The text search configuration to use.-+</div></li>