Skip to content

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

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.mdx
index fe5f063fc95..682e8c1119d 100644
--- a/web/docs/client/adj.mdx
+++ b/web/docs/client/adj.mdx
@@ -2,6 +2,7 @@
id: adj
title: ".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.mdx
index 5ddcb12aaca..b1b251f8145 100644
--- a/web/docs/client/auth-onauthstatechange.mdx
+++ b/web/docs/client/auth-onauthstatechange.mdx
@@ -2,6 +2,7 @@
id: auth-onauthstatechange
title: "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.mdx
index 6081c408e3b..8992d282160 100644
--- a/web/docs/client/auth-session.mdx
+++ b/web/docs/client/auth-session.mdx
@@ -2,6 +2,7 @@
id: auth-session
title: "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.mdx
index e9e80e37964..fd7b6fa5253 100644
--- a/web/docs/client/auth-signin.mdx
+++ b/web/docs/client/auth-signin.mdx
@@ -2,6 +2,7 @@
id: auth-signin
title: "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.mdx
index ad157d34784..d03fe848017 100644
--- a/web/docs/client/auth-signout.mdx
+++ b/web/docs/client/auth-signout.mdx
@@ -2,6 +2,7 @@
id: auth-signout
title: "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.mdx
index 4d92408d5e9..2bad085dd8f 100644
--- a/web/docs/client/auth-signup.mdx
+++ b/web/docs/client/auth-signup.mdx
@@ -2,6 +2,7 @@
id: auth-signup
title: "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.mdx
index d42f65c1d79..daef20bfccb 100644
--- a/web/docs/client/auth-update.mdx
+++ b/web/docs/client/auth-update.mdx
@@ -2,6 +2,7 @@
id: auth-update
title: "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.mdx
index 4b37b53dfdc..3858ffc50b5 100644
--- a/web/docs/client/auth-user.mdx
+++ b/web/docs/client/auth-user.mdx
@@ -2,6 +2,7 @@
id: auth-user
title: "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.mdx
index cb836d51c55..b88be48a673 100644
--- a/web/docs/client/cd.mdx
+++ b/web/docs/client/cd.mdx
@@ -2,6 +2,7 @@
id: cd
title: ".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.mdx
index 5c777a2b77b..cd661bd3a05 100644
--- a/web/docs/client/cs.mdx
+++ b/web/docs/client/cs.mdx
@@ -2,6 +2,7 @@
id: cs
title: ".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.mdx
index 090eaa9e835..c967b5d0bda 100644
--- a/web/docs/client/delete.mdx
+++ b/web/docs/client/delete.mdx
@@ -2,6 +2,7 @@
id: delete
title: "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.mdx
index da93e183874..38c8675bdb9 100644
--- a/web/docs/client/eq.mdx
+++ b/web/docs/client/eq.mdx
@@ -2,6 +2,7 @@
id: eq
title: ".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.mdx
index 7a5e0ed953b..cd73faa1a5a 100644
--- a/web/docs/client/filter.mdx
+++ b/web/docs/client/filter.mdx
@@ -2,6 +2,7 @@
id: filter
title: ".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.mdx
index 63f9552a66b..51db8fa532b 100644
--- a/web/docs/client/fts.mdx
+++ b/web/docs/client/fts.mdx
@@ -2,6 +2,7 @@
id: fts
title: ".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.mdx
index e7a673c3a72..e3a600c46c9 100644
--- a/web/docs/client/generating-types.mdx
+++ b/web/docs/client/generating-types.mdx
@@ -2,6 +2,7 @@
id: generating-types
title: "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.mdx
index 27763f4bd1b..5ce1b38e6eb 100644
--- a/web/docs/client/getsubscriptions.mdx
+++ b/web/docs/client/getsubscriptions.mdx
@@ -2,6 +2,7 @@
id: getsubscriptions
title: "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.mdx
index 7f0615d6b4d..8ebde784fa2 100644
--- a/web/docs/client/gt.mdx
+++ b/web/docs/client/gt.mdx
@@ -2,6 +2,7 @@
id: gt
title: ".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.mdx
index 325b0deadea..ddd3f9916bb 100644
--- a/web/docs/client/gte.mdx
+++ b/web/docs/client/gte.mdx
@@ -2,6 +2,7 @@
id: gte
title: ".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.mdx
index 5ebea0a8751..9f3f0e0829e 100644
--- a/web/docs/client/ilike.mdx
+++ b/web/docs/client/ilike.mdx
@@ -2,6 +2,7 @@
id: ilike
title: ".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.mdx
index adf8e9b7ea3..4111366841e 100644
--- a/web/docs/client/in.mdx
+++ b/web/docs/client/in.mdx
@@ -2,6 +2,7 @@
id: in
title: ".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.mdx
index 65e2a8c6a12..123cec04ee6 100644
--- a/web/docs/client/index.mdx
+++ b/web/docs/client/index.mdx
@@ -2,6 +2,7 @@
id: index
title: "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.mdx
index 69eb273e4de..99a9f5974d2 100644
--- a/web/docs/client/initializing.mdx
+++ b/web/docs/client/initializing.mdx
@@ -2,6 +2,7 @@
id: initializing
title: "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.mdx
index bce73402b30..21c66a08980 100644
--- a/web/docs/client/insert.mdx
+++ b/web/docs/client/insert.mdx
@@ -2,6 +2,7 @@
id: insert
title: "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.mdx
index 95da647fb0f..ceac31b4cbe 100644
--- a/web/docs/client/installing.mdx
+++ b/web/docs/client/installing.mdx
@@ -2,6 +2,7 @@
id: installing
title: "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.mdx
index deb1d2dc242..6c0160d1891 100644
--- a/web/docs/client/is.mdx
+++ b/web/docs/client/is.mdx
@@ -2,6 +2,7 @@
id: is
title: ".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.mdx
index 8e5ee79eb80..bb227bd8102 100644
--- a/web/docs/client/like.mdx
+++ b/web/docs/client/like.mdx
@@ -2,6 +2,7 @@
id: like
title: ".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.mdx
index b663ca71689..c0c865fb267 100644
--- a/web/docs/client/limit.mdx
+++ b/web/docs/client/limit.mdx
@@ -2,6 +2,7 @@
id: limit
title: "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.mdx
index 9127a3f27cb..1701b79698a 100644
--- a/web/docs/client/lt.mdx
+++ b/web/docs/client/lt.mdx
@@ -2,6 +2,7 @@
id: lt
title: ".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.mdx
index d5a442bb230..d998d7a999d 100644
--- a/web/docs/client/lte.mdx
+++ b/web/docs/client/lte.mdx
@@ -2,6 +2,7 @@
id: lte
title: ".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.mdx
index 2147f438200..05c232ea63e 100644
--- a/web/docs/client/match.mdx
+++ b/web/docs/client/match.mdx
@@ -2,6 +2,7 @@
id: match
title: ".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 supabase
The object to filter with, with column names as keys mapped
to their filter values.
-
+
</div>
</li>
diff --git a/web/docs/client/neq.mdx b/web/docs/client/neq.mdx
index f812cad6050..3818838ebdd 100644
--- a/web/docs/client/neq.mdx
+++ b/web/docs/client/neq.mdx
@@ -2,6 +2,7 @@
id: neq
title: ".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.mdx
index 6e870053c0b..a07edf1d392 100644
--- a/web/docs/client/not.mdx
+++ b/web/docs/client/not.mdx
@@ -2,6 +2,7 @@
id: not
title: ".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.mdx
index f9a9d3d8978..1787708f89f 100644
--- a/web/docs/client/nxl.mdx
+++ b/web/docs/client/nxl.mdx
@@ -2,6 +2,7 @@
id: nxl
title: ".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.mdx
index 8699b550d10..6c57328e948 100644
--- a/web/docs/client/nxr.mdx
+++ b/web/docs/client/nxr.mdx
@@ -2,6 +2,7 @@
id: nxr
title: ".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.mdx
index 69480986970..8a9e3de7388 100644
--- a/web/docs/client/or.mdx
+++ b/web/docs/client/or.mdx
@@ -2,6 +2,7 @@
id: or
title: ".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.mdx
index b15d1bf4a24..bf22db754f2 100644
--- a/web/docs/client/order.mdx
+++ b/web/docs/client/order.mdx
@@ -2,6 +2,7 @@
id: order
title: "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.mdx
index f407cc305a6..d948e295b7c 100644
--- a/web/docs/client/ov.mdx
+++ b/web/docs/client/ov.mdx
@@ -2,6 +2,7 @@
id: ov
title: ".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.mdx
index ba60cf50121..7030f4e076c 100644
--- a/web/docs/client/phfts.mdx
+++ b/web/docs/client/phfts.mdx
@@ -2,6 +2,7 @@
id: phfts
title: ".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.mdx
index 86344a9c43f..a87e241600a 100644
--- a/web/docs/client/plfts.mdx
+++ b/web/docs/client/plfts.mdx
@@ -2,6 +2,7 @@
id: plfts
title: ".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.mdx
index 47c8b1d28cd..b26261daa15 100644
--- a/web/docs/client/range.mdx
+++ b/web/docs/client/range.mdx
@@ -2,6 +2,7 @@
id: range
title: "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.mdx
index 688689d27b9..6055b7d4f09 100644
--- a/web/docs/client/removesubscription.mdx
+++ b/web/docs/client/removesubscription.mdx
@@ -2,6 +2,7 @@
id: removesubscription
title: "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.mdx
index 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-email
title: "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.mdx
index e4fe5fabe89..3d11af499ca 100644
--- a/web/docs/client/rpc.mdx
+++ b/web/docs/client/rpc.mdx
@@ -2,6 +2,7 @@
id: rpc
title: "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.mdx
index c0a31ead2c3..fbe84d8484d 100644
--- a/web/docs/client/select.mdx
+++ b/web/docs/client/select.mdx
@@ -2,6 +2,7 @@
id: select
title: "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 supabase
If you have data inside of a JSONB column, you can apply select
and 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
```js
const { 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.mdx
index a253168ad95..9d9495ea03d 100644
--- a/web/docs/client/single.mdx
+++ b/web/docs/client/single.mdx
@@ -2,6 +2,7 @@
id: single
title: "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.mdx
index 6894d2f5fae..509118b4ca6 100644
--- a/web/docs/client/sl.mdx
+++ b/web/docs/client/sl.mdx
@@ -2,6 +2,7 @@
id: sl
title: ".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.mdx
index 7b43f568059..c011fe77a94 100644
--- a/web/docs/client/sr.mdx
+++ b/web/docs/client/sr.mdx
@@ -2,6 +2,7 @@
id: sr
title: ".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.mdx
index 02307917cdc..85b3dd2a99e 100644
--- a/web/docs/client/subscribe.mdx
+++ b/web/docs/client/subscribe.mdx
@@ -2,6 +2,7 @@
id: subscribe
title: "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.mdx
index e71446f5c17..e4abbbd59ba 100644
--- a/web/docs/client/update.mdx
+++ b/web/docs/client/update.mdx
@@ -2,6 +2,7 @@
id: update
title: "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 file
diff --git a/web/docs/client/using-filters.mdx b/web/docs/client/using-filters.mdx
index 78494041e5f..0c5a9fed11f 100644
--- a/web/docs/client/using-filters.mdx
+++ b/web/docs/client/using-filters.mdx
@@ -2,6 +2,7 @@
id: using-filters
title: "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.mdx
index be03d7183ea..b3fd5411da8 100644
--- a/web/docs/client/using-modifiers.mdx
+++ b/web/docs/client/using-modifiers.mdx
@@ -2,6 +2,7 @@
id: using-modifiers
title: "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.mdx
index 066373eba19..795d35414b4 100644
--- a/web/docs/client/wfts.mdx
+++ b/web/docs/client/wfts.mdx
@@ -2,6 +2,7 @@
id: wfts
title: ".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>