Prefix
12/28/2021, 9:24 PMtypescript
// ✅ this is working correctly (able to receive INSERT, UPDATE and DELETE events for the `board_cards` table):
const subscription = await supabase
.from('*')
.on('*', handler)
.subscribe();
// ❌ this is NOT working correctly (unable to receive INSERT, UPDATE and DELETE events for the `board_cards` ):
const subscription = await supabase
.from(`board_cards:list_id=eq.${someId}`)
.on('*', handler)
.subscribe();
garyaustin
12/28/2021, 9:41 PMwillm
12/28/2021, 10:56 PMgaryaustin
12/29/2021, 12:17 AMwillm
12/29/2021, 12:23 AMwillm
12/29/2021, 12:23 AMNull
12/29/2021, 2:13 AMNull
12/29/2021, 2:22 AMNull
12/29/2021, 2:25 AMNull
12/29/2021, 2:25 AMwillm
12/29/2021, 5:14 AMNull
12/29/2021, 5:15 AMpayload.new
variablewillm
12/29/2021, 5:34 AMwillm
12/29/2021, 5:34 AMNull
12/29/2021, 3:23 PMHaba
12/29/2021, 8:05 PMmounted(){
supabase
.from(`Cards:uid.${this.$store.state.user.id`}) \\ or 'Cards'
.on('*', (payload) => {
console.log('Change received!', payload);
})
.subscribe();
}
Cards is a Table
uid it's a column with user auth id
and this doesn't work for me :/
Any ideas?garyaustin
12/29/2021, 8:26 PMTremalJack
12/30/2021, 2:02 PMNull
12/30/2021, 8:16 PMpoutingemoji
12/31/2021, 1:58 AMlorencerri
12/31/2021, 4:10 PMDevilsBlade0
01/01/2022, 9:30 AMDevilsBlade0
01/01/2022, 9:30 AMtourdownunder
01/01/2022, 10:43 AMTremalJack
01/01/2022, 3:38 PMDevilsBlade0
01/02/2022, 4:01 PMberu
01/03/2022, 4:19 AMStuart
01/03/2022, 2:10 PMScott P
01/03/2022, 4:44 PMrpc()
function with a parameter that's an array (that's mapped to a custom postgres enum[]
)? (Details in thread)Mike92988
01/03/2022, 8:16 PM