Listening to multiple rows using supabase realtime subscriptions
I was wondering if it's possible to listen to multiple rows in one table using supabase realtime subscriptions. I tried writing a for loop where each iteration of the loop creates a new real-time subscription. I have a flatlist in my react native app where each item in the flatlist has a different value for the 'name' column in a supabase table called Games. I would like to listen to changes for each of these flatlist items. The subscribe() is not working in the for loop. It only works if I individually call .subscribe() without a for loop. Would appreciate any help regarding this topic.