zerosodium
05/24/2023, 4:15 PMjs
useEffect(() => {
const bidsSubscription = supabase
.channel("any")
.on(
"postgres_changes",
{
event: "*",
schema: "public",
table: "bids",
},
(payload) => {
console.log(payload);
}
)
.subscribe();
return () => {
supabase.removeAllChannels();
};
}, []);
I understand I can filter like filter: 'reservation_id=x'
but can I chain these together?garyaustin
05/24/2023, 4:37 PMgaryaustin
05/24/2023, 5:08 PMzerosodium
05/24/2023, 5:10 PMgaryaustin
05/24/2023, 5:10 PMgaryaustin
05/24/2023, 5:11 PMzerosodium
05/24/2023, 5:13 PMin
in the context of realtime listners?zerosodium
05/24/2023, 5:21 PMgaryaustin
05/24/2023, 5:21 PMzerosodium
05/24/2023, 5:22 PM