this.supabaseClient.channel('matches_updated')
.on(
'postgres_changes',
{ event: '*', schema: 'public', table: 'matches', filter: 'event_id=eq.' + id },
(payload) => {
console.error('Change received!', payload)
}
)
.subscribe();
this.supabaseClient.channel('matches_updated')
.on(
'postgres_changes',
{ event: '*', schema: 'public', table: 'matches', filter: 'event_id=eq.' + id },
(payload) => {
console.error('Change received!', payload)
}
)
.subscribe();