https://supabase.com/ logo
#help
Title
# help
b

Bicijay

03/29/2022, 7:23 PM
Hey guys, when using realtime, can i filter the rows i wanna listen with more than one column for the filter? For example, "countries:columnX=eq.FOO;columnY=eq.BAR"
n

Needle

03/29/2022, 7:23 PM
Hello @Bicijay! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! 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

garyaustin

03/29/2022, 7:24 PM
No. One eq filter per subscription. If one of the columns happens to be user's id you get that for "free" with RLS on it.
n

Needle

03/29/2022, 7:24 PM
Zé (2022-03-29)
g

garyaustin

03/29/2022, 7:24 PM
There is a request on github for a .in type filter, but that would allow multiple values for one column.
b

Bicijay

03/29/2022, 7:30 PM
perfect, thank you gary!
n

Needle

03/29/2022, 7:30 PM
Thread was archived by @Bicijay. Anyone can send a message to unarchive it.