What is the JS syntax for stacking many eq for rea...
# help
s
What is the JS syntax for stacking many eq for realtime subscriptions
Copy code
messageSubscription = await supabase
  .from(`messages:community_id=eq.${community.id}:room_id=eq.${room.id}`)
  .on('INSERT', payload => {})
  .subscribe();
Here's what I have that doesn't work
n
Hello @snowshift! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g
Realtime only allows one .eq filter.
n
snowshift (2022-06-04)
s
Thank you @garyaustin !
n
Thread was archived by @snowshift. Anyone can send a message to unarchive it.