The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
add in filter
abc388173de90081
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsindex 08fe63bb175..d568a0614fb 100644--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.ts@@ -511,7 +511,7 @@ export const realtime = {items: [{ name: 'Overview', url: '/guides/realtime', items: [] },{ name: 'Quickstart', url: '/guides/realtime/quickstart', items: [] },- { name: 'Protocol', url: '/guides/realtime/protocol', items: [] },+ { name: 'Protocol Description', url: '/guides/realtime/protocol', items: [] },{name: 'Channels',url: undefined,diff --git a/apps/docs/pages/guides/realtime/protocol.mdx b/apps/docs/pages/guides/realtime/protocol.mdxindex d9b34004d2b..de4b74d5b57 100644--- a/apps/docs/pages/guides/realtime/protocol.mdx+++ b/apps/docs/pages/guides/realtime/protocol.mdx@@ -6,7 +6,7 @@ export const meta = {description: 'Understanding Realtime Protocol',}-The Realtime Protocol is a set of message formats used for communication between a Realtime client and server. These messages are used to initiate a connection, update access tokens, receive system status updates, and receive real-time updates from the Postgres database.+The Realtime Protocol is a set of message formats used for communication over a WebSocket connection between a Realtime client and server. These messages are used to initiate a connection, update access tokens, receive system status updates, and receive real-time updates from the Postgres database.## Connection@@ -29,7 +29,7 @@ In the initial message, the client sends a message specifying the features they"event": "*" | "INSERT" | "UPDATE" | "DELETE","schema": string,"table": string,- "filter": string + '=' + "eq" | "neq" | "gt" | "gte" | "lt" | "lte" + '.' + string+ "filter": string + '=' + "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" + '.' + string}]}@@ -37,6 +37,7 @@ In the initial message, the client sends a message specifying the features they"ref": string}```+The `in` filter has the format `COLUMN_NAME=in.(value1, valu2, value3)`In response, the server sends the Postgres configuration with a unique ID. With this ID, the client should route incoming changes to the appropriate callback.@@ -52,7 +53,7 @@ In response, the server sends the Postgres configuration with a unique ID. With"event": "*" | "INSERT" | "UPDATE" | "DELETE","schema": string,"table": string,- "filter": string + '=' + "eq" | "neq" | "gt" | "gte" | "lt" | "lte" + '.' + string+ "filter": string + '=' + "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "in" + '.' + string}]},