The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Updates all of PostgREST
Paul Copplestone47be617fbe7b
diff --git a/web/docs/postgrest/client/adj.mdx b/web/docs/postgrest/client/adj.mdxindex c7b5f8d9ff9..6608171bb94 100644--- a/web/docs/postgrest/client/adj.mdx+++ b/web/docs/postgrest/client/adj.mdx@@ -26,7 +26,7 @@ the specified `range`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/cd.mdx b/web/docs/postgrest/client/cd.mdxindex 2c9c5610cfd..2bdc2bab8b8 100644--- a/web/docs/postgrest/client/cd.mdx+++ b/web/docs/postgrest/client/cd.mdx@@ -26,7 +26,7 @@ contained by the specified `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- | |+ <code>string</code> | <code>array</code> | <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/cs.mdx b/web/docs/postgrest/client/cs.mdxindex 957017df70f..d3bd2a94d0c 100644--- a/web/docs/postgrest/client/cs.mdx+++ b/web/docs/postgrest/client/cs.mdx@@ -26,7 +26,7 @@ contains the values specified in `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- | |+ <code>string</code> | <code>array</code> | <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/delete.mdx b/web/docs/postgrest/client/delete.mdxindex 595edafd81e..7ca1d082f58 100644--- a/web/docs/postgrest/client/delete.mdx+++ b/web/docs/postgrest/client/delete.mdx@@ -7,4 +7,58 @@ slug: deleteimport Tabs from '@theme/Tabs';import TabItem from '@theme/TabItem';-Performs a DELETE on the table.\ No newline at end of file+Performs a DELETE on the table.++++## Parameters+++<ul className="method-list-group">++<li className="method-list-item">+ <h4 className="method-list-item-label">+ <span className="method-list-item-label-name">+ __namedParameters+ </span>+ <span className="method-list-item-label-badge required">+ required+ </span>+ <span className="method-list-item-validation">+ <code>object</code>+ </span>+ </h4>+ <div class="method-list-item-description">++No description provided.++ </div>++<ul className="method-list-group">+ <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>++<li className="method-list-item">+ <h4 className="method-list-item-label">+ <span className="method-list-item-label-name">+ returning+ </span>+ <span className="method-list-item-label-badge required">+ required+ </span>+ <span className="method-list-item-validation">+ <code>minimal</code> | <code>representation</code>+ </span>+ </h4>+ <div class="method-list-item-description">++If `true`, return the deleted row(s) in the response.++ </div>++</li>++</ul>++</li>++</ul>\ No newline at end of filediff --git a/web/docs/postgrest/client/eq.mdx b/web/docs/postgrest/client/eq.mdxindex 2a00ebc9dfe..aa0e1e87709 100644--- a/web/docs/postgrest/client/eq.mdx+++ b/web/docs/postgrest/client/eq.mdx@@ -26,7 +26,7 @@ specified `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/filter.mdx b/web/docs/postgrest/client/filter.mdxindex 77525936c6a..af5481b5d45 100644--- a/web/docs/postgrest/client/filter.mdx+++ b/web/docs/postgrest/client/filter.mdx@@ -25,7 +25,7 @@ Finds all rows whose `column` satisfies the filter.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -46,7 +46,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- FilterOperator+ <code>FilterOperator</code></span></h4><div class="method-list-item-description">@@ -67,7 +67,7 @@ The operator to filter with.required</span><span className="method-list-item-validation">- any+ <code>any</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/from.mdx b/web/docs/postgrest/client/from.mdxindex 70b78a3fded..2824c3dbfe8 100644--- a/web/docs/postgrest/client/from.mdx+++ b/web/docs/postgrest/client/from.mdx@@ -25,7 +25,7 @@ Perform a table operation.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/fts.mdx b/web/docs/postgrest/client/fts.mdxindex a771debbe36..73b87471ea1 100644--- a/web/docs/postgrest/client/fts.mdx+++ b/web/docs/postgrest/client/fts.mdx@@ -26,7 +26,7 @@ to_tsquery(`query`).required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">@@ -68,7 +68,7 @@ The Postgres tsquery string to filter with.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -89,7 +89,7 @@ No description provided.required</span><span className="method-list-item-validation">- |+ <code>undefined</code> | <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/gt.mdx b/web/docs/postgrest/client/gt.mdxindex 6c08ada68a4..36118c510ab 100644--- a/web/docs/postgrest/client/gt.mdx+++ b/web/docs/postgrest/client/gt.mdx@@ -26,7 +26,7 @@ specified `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/gte.mdx b/web/docs/postgrest/client/gte.mdxindex 296348b3df3..7d308821a59 100644--- a/web/docs/postgrest/client/gte.mdx+++ b/web/docs/postgrest/client/gte.mdx@@ -26,7 +26,7 @@ equal to the specified `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/ilike.mdx b/web/docs/postgrest/client/ilike.mdxindex fcb5384665a..e8f2947f4e5 100644--- a/web/docs/postgrest/client/ilike.mdx+++ b/web/docs/postgrest/client/ilike.mdx@@ -26,7 +26,7 @@ Finds all rows whose value in the stated `column` matches the suppliedrequired</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/in.mdx b/web/docs/postgrest/client/in.mdxindex d50d093882f..2cb1fae8ed4 100644--- a/web/docs/postgrest/client/in.mdx+++ b/web/docs/postgrest/client/in.mdx@@ -26,7 +26,7 @@ specified `values`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/initializing.mdx b/web/docs/postgrest/client/initializing.mdxindex e3bb2528763..006b987b7b3 100644--- a/web/docs/postgrest/client/initializing.mdx+++ b/web/docs/postgrest/client/initializing.mdx@@ -25,7 +25,7 @@ Creates a PostgREST client.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">@@ -46,7 +46,7 @@ URL of the PostgREST endpoint.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -61,18 +61,18 @@ No description provided.<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- headers+ schema</span><span className="method-list-item-label-badge required">required</span><span className="method-list-item-validation">- object+ <code>undefined</code> | <code>string</code></span></h4><div class="method-list-item-description">-Custom headers.+Postgres schema to switch to.</div>@@ -82,18 +82,18 @@ Custom headers.<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- schema+ headers</span><span className="method-list-item-label-badge required">required</span><span className="method-list-item-validation">- |+ <code>object</code></span></h4><div class="method-list-item-description">-Postgres schema to switch to.+Custom headers.</div>diff --git a/web/docs/postgrest/client/insert.mdx b/web/docs/postgrest/client/insert.mdxindex 3b4be9b8681..ac9164e63fc 100644--- a/web/docs/postgrest/client/insert.mdx+++ b/web/docs/postgrest/client/insert.mdx@@ -25,7 +25,7 @@ Performs an INSERT into the table.required</span><span className="method-list-item-validation">- |+ <code>Partial</code> | <code>array</code></span></h4><div class="method-list-item-description">@@ -46,7 +46,7 @@ The values to insert.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -61,18 +61,18 @@ No description provided.<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- onConflict+ upsert</span><span className="method-list-item-label-badge required">required</span><span className="method-list-item-validation">- |+ <code>boolean</code></span></h4><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.+If `true`, performs an UPSERT.</div>@@ -82,18 +82,39 @@ By specifying the `on_conflict` query parameter, you can make UPSERT work on a c<li className="method-list-item"><h4 className="method-list-item-label"><span className="method-list-item-label-name">- upsert+ returning</span><span className="method-list-item-label-badge required">required</span><span className="method-list-item-validation">- boolean+ <code>minimal</code> | <code>representation</code></span></h4><div class="method-list-item-description">-If `true`, performs an UPSERT.+By default the new record is returned. Set this to 'minimal' if you don't need this value.++ </div>++</li>+++<li className="method-list-item">+ <h4 className="method-list-item-label">+ <span className="method-list-item-label-name">+ onConflict+ </span>+ <span className="method-list-item-label-badge required">+ required+ </span>+ <span className="method-list-item-validation">+ <code>undefined</code> | <code>string</code>+ </span>+ </h4>+ <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>diff --git a/web/docs/postgrest/client/is.mdx b/web/docs/postgrest/client/is.mdxindex bd20c6bfa03..0f77d5ded4b 100644--- a/web/docs/postgrest/client/is.mdx+++ b/web/docs/postgrest/client/is.mdx@@ -26,7 +26,7 @@ value on the stated `column` exactly match the specified `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- |+ <code>boolean</code> | <code>null</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/like.mdx b/web/docs/postgrest/client/like.mdxindex bcbfb0c2b55..ae7d3c0f355 100644--- a/web/docs/postgrest/client/like.mdx+++ b/web/docs/postgrest/client/like.mdx@@ -26,7 +26,7 @@ Finds all rows whose value in the stated `column` matches the suppliedrequired</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/lt.mdx b/web/docs/postgrest/client/lt.mdxindex ca00fc7f2fb..7fa114bbd8f 100644--- a/web/docs/postgrest/client/lt.mdx+++ b/web/docs/postgrest/client/lt.mdx@@ -26,7 +26,7 @@ specified `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/lte.mdx b/web/docs/postgrest/client/lte.mdxindex 9e951aaa20d..3ff2f34fe4a 100644--- a/web/docs/postgrest/client/lte.mdx+++ b/web/docs/postgrest/client/lte.mdx@@ -26,7 +26,7 @@ to the specified `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/neq.mdx b/web/docs/postgrest/client/neq.mdxindex baa68eb1c80..8b2681593e8 100644--- a/web/docs/postgrest/client/neq.mdx+++ b/web/docs/postgrest/client/neq.mdx@@ -26,7 +26,7 @@ specified `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/not.mdx b/web/docs/postgrest/client/not.mdxindex 0be31cc4afc..8e8d9312851 100644--- a/web/docs/postgrest/client/not.mdx+++ b/web/docs/postgrest/client/not.mdx@@ -25,7 +25,7 @@ Finds all rows which doesn't satisfy the filter.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -46,7 +46,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- FilterOperator+ <code>FilterOperator</code></span></h4><div class="method-list-item-description">@@ -67,7 +67,7 @@ The operator to filter with.required</span><span className="method-list-item-validation">- any+ <code>any</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/nxl.mdx b/web/docs/postgrest/client/nxl.mdxindex 5768d4f2991..d5722e64a93 100644--- a/web/docs/postgrest/client/nxl.mdx+++ b/web/docs/postgrest/client/nxl.mdx@@ -26,7 +26,7 @@ to the left of the specified `range`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/nxr.mdx b/web/docs/postgrest/client/nxr.mdxindex 17b04e8e506..12c87f479f1 100644--- a/web/docs/postgrest/client/nxr.mdx+++ b/web/docs/postgrest/client/nxr.mdx@@ -26,7 +26,7 @@ to the right of the specified `range`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/ov.mdx b/web/docs/postgrest/client/ov.mdxindex db084660134..7ff538e2ad1 100644--- a/web/docs/postgrest/client/ov.mdx+++ b/web/docs/postgrest/client/ov.mdx@@ -26,7 +26,7 @@ contained by the specified `value`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- |+ <code>string</code> | <code>array</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/phfts.mdx b/web/docs/postgrest/client/phfts.mdxindex bcf71622a87..3bc7fee0045 100644--- a/web/docs/postgrest/client/phfts.mdx+++ b/web/docs/postgrest/client/phfts.mdx@@ -26,7 +26,7 @@ phraseto_tsquery(`query`).required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">@@ -68,7 +68,7 @@ The Postgres tsquery string to filter with.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -89,7 +89,7 @@ No description provided.required</span><span className="method-list-item-validation">- |+ <code>undefined</code> | <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/plfts.mdx b/web/docs/postgrest/client/plfts.mdxindex 90622307ce3..830d5a604d5 100644--- a/web/docs/postgrest/client/plfts.mdx+++ b/web/docs/postgrest/client/plfts.mdx@@ -26,7 +26,7 @@ plainto_tsquery(`query`).required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">@@ -68,7 +68,7 @@ The Postgres tsquery string to filter with.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -89,7 +89,7 @@ No description provided.required</span><span className="method-list-item-validation">- |+ <code>undefined</code> | <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/rpc.mdx b/web/docs/postgrest/client/rpc.mdxindex 1119c188b78..4eef658eb86 100644--- a/web/docs/postgrest/client/rpc.mdx+++ b/web/docs/postgrest/client/rpc.mdx@@ -25,7 +25,7 @@ Perform a stored procedure call.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">@@ -46,7 +46,7 @@ The function name to call.optional</span><span className="method-list-item-validation">- |+ <code>undefined</code> | <code>object</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/select.mdx b/web/docs/postgrest/client/select.mdxindex 797a133fbb9..2fdc725a318 100644--- a/web/docs/postgrest/client/select.mdx+++ b/web/docs/postgrest/client/select.mdx@@ -25,7 +25,7 @@ Performs horizontal filtering with SELECT.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/sl.mdx b/web/docs/postgrest/client/sl.mdxindex 23971f334e3..bd1d70c0a57 100644--- a/web/docs/postgrest/client/sl.mdx+++ b/web/docs/postgrest/client/sl.mdx@@ -26,7 +26,7 @@ left of the specified `range`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/sr.mdx b/web/docs/postgrest/client/sr.mdxindex 39413cd7508..b636f046b79 100644--- a/web/docs/postgrest/client/sr.mdx+++ b/web/docs/postgrest/client/sr.mdx@@ -26,7 +26,7 @@ the right of the specified `range`.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">diff --git a/web/docs/postgrest/client/update.mdx b/web/docs/postgrest/client/update.mdxindex 5493e63fedb..8c4160357a8 100644--- a/web/docs/postgrest/client/update.mdx+++ b/web/docs/postgrest/client/update.mdx@@ -25,7 +25,7 @@ Performs an UPDATE on the table.required</span><span className="method-list-item-validation">- Partial+ <code>Partial</code></span></h4><div class="method-list-item-description">@@ -36,4 +36,50 @@ The values to update.</li>++<li className="method-list-item">+ <h4 className="method-list-item-label">+ <span className="method-list-item-label-name">+ __namedParameters+ </span>+ <span className="method-list-item-label-badge required">+ required+ </span>+ <span className="method-list-item-validation">+ <code>object</code>+ </span>+ </h4>+ <div class="method-list-item-description">++No description provided.++ </div>++<ul className="method-list-group">+ <h5 class="method-list-title method-list-title-isChild expanded">Properties</h5>++<li className="method-list-item">+ <h4 className="method-list-item-label">+ <span className="method-list-item-label-name">+ returning+ </span>+ <span className="method-list-item-label-badge required">+ required+ </span>+ <span className="method-list-item-validation">+ <code>minimal</code> | <code>representation</code>+ </span>+ </h4>+ <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>++</ul>++</li>+</ul>\ No newline at end of filediff --git a/web/docs/postgrest/client/wfts.mdx b/web/docs/postgrest/client/wfts.mdxindex 369b3821d2a..67f0a9c22ad 100644--- a/web/docs/postgrest/client/wfts.mdx+++ b/web/docs/postgrest/client/wfts.mdx@@ -26,7 +26,7 @@ websearch_to_tsquery(`query`).required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -47,7 +47,7 @@ The column to filter on.required</span><span className="method-list-item-validation">- string+ <code>string</code></span></h4><div class="method-list-item-description">@@ -68,7 +68,7 @@ The Postgres tsquery string to filter with.required</span><span className="method-list-item-validation">- object+ <code>object</code></span></h4><div class="method-list-item-description">@@ -89,7 +89,7 @@ No description provided.required</span><span className="method-list-item-validation">- |+ <code>undefined</code> | <code>string</code></span></h4><div class="method-list-item-description">