© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
4 replies
gtims123

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.
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Realtime subscriptions not working
SupabaseSSupabase / help-and-questions
8mo ago
Nextjs and realtime subscriptions
SupabaseSSupabase / help-and-questions
4y ago
Realtime Subscriptions Timeout in Docker
SupabaseSSupabase / help-and-questions
5mo ago
Realtime collaboration using supabase and tiptap
SupabaseSSupabase / help-and-questions
3y ago