How I can use realtime db with Row level security?...
# javascript
h
How I can use realtime db with Row level security? In Vue I'm trying to use code from docs (https://supabase.com/docs/reference/javascript/subscribe#listening-to-row-level-changes)
Copy code
mounted(){
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?
g
At a minimum you are missing =eq. in your .from Cards:uid=eq.UIDCODE