Skip to content

How to filter realtime subscription? #546

Answered by kiwicopple
laurentS asked this question in Questions
Discussion options

You must be logged in to vote

Hey @laurentS - I thought this was in the docs, but I think it must have been removed. I added a note here:

https://supabase.io/docs/client/subscribe#listening-to-deletes

By default Supabase not send deleted records. If you want to receive the deleted record you can enable full replication for the table you are listening too:

alter table "your_table" replica identity full;

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@laurentS
Comment options

Answer selected by laurentS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants