mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
fix: Add limitation to Postgres Changes docs regarding Delete events ignoring filtering (#21412)
This commit is contained in:
1 parent
80b4d1e2e1
commit
d62eadd630
1 file changed
+7
-3
@@ -86,7 +86,7 @@ In this example we'll set up a database table, secure it with Row Level Security
|
||||
</StepHikeCompact.Step>
|
||||
|
||||
<StepHikeCompact.Step step={3}>
|
||||
|
||||
|
||||
<StepHikeCompact.Details title="Enable Postgres replication">
|
||||
|
||||
Go to your project's [Replication settings](https://supabase.com/dashboard/project/_/database/replication), and under `supabase_realtime`, toggle on the tables you want to listen to.
|
||||
@@ -96,7 +96,7 @@ In this example we'll set up a database table, secure it with Row Level Security
|
||||
</StepHikeCompact.Step>
|
||||
|
||||
<StepHikeCompact.Step step={4}>
|
||||
|
||||
|
||||
<StepHikeCompact.Details title="Install the client">
|
||||
|
||||
Install the Supabase JavaScript client.
|
||||
@@ -114,7 +114,7 @@ In this example we'll set up a database table, secure it with Row Level Security
|
||||
</StepHikeCompact.Step>
|
||||
|
||||
<StepHikeCompact.Step step={5}>
|
||||
|
||||
|
||||
<StepHikeCompact.Details title="Create the client">
|
||||
|
||||
This client will be used to listen to Postgres changes.
|
||||
@@ -1347,6 +1347,10 @@ myChannel.updateAuth("fresh-token")
|
||||
|
||||
## Limitations
|
||||
|
||||
### Delete events are not filterable
|
||||
|
||||
You can't filter Delete events when tracking Postgres Changes. This limitation is due to the way changes are pulled from Postgres.
|
||||
|
||||
### Spaces in table names
|
||||
|
||||
Realtime currently does not work when table names contain spaces.
|
||||
|
||||
Reference in new issue
Block a user