You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add support for multiple filters / complex queries for Realtime and stream methods #338
blockedThis issue is blocked by another issueenhancementNew feature or requestplannedThis issue is planned and should not be automatically closed due to being stale.realtimeThis issue or pull request is related to realtime
For my Flutter app I was trying to build a dynamic filtering facility for a Supabase stream, and have discovered that an exception is thrown whenever more than one filter is applied.
Why this limit?
Is there any way around this? In my case I have want to apply two field filters and the exact two fields can vary according to user interactions
Reacted by Elliott Etzkorn, TC3000, Ruud Brouwers, Bomdi, Dev-Salem, Nitish Kumar, Leigha Reid (Jarett), Pooja Bhaumik, Alfas Mecheeri, Saffron Dionysius and 2 more
@davoutuk
You can only have one filter on stream() due to the limitation on Supabase's realtime server currently. There is a issue on realtime repo discussing supporting more flexible queries supabase/realtime#303.
Reacted by TC3000, Bomdi, ortegaxc, Tim Lunar, Swarup, Nitish Kumar, Saeed Ullah and Akshay CM
I have a workaround, by having a separate column, with the concatenated values, updated by a trigger. Easy if you just want 'eq' but you'll have to get creative if you want gt, lt etc.
changed the title [-]Why only filter allowed on a Flutter/Supabase stream??[/-][+]Add support for multiple filters / complex queries for Realtime and stream methods[/+]on Mar 12, 2024
blockedThis issue is blocked by another issueenhancementNew feature or requestplannedThis issue is planned and should not be automatically closed due to being stale.realtimeThis issue or pull request is related to realtime
Activity
dshukertjr commentedon Jan 24, 2023
@davoutuk
You can only have one filter on
stream()due to the limitation on Supabase's realtime server currently. There is a issue on realtime repo discussing supporting more flexible queries supabase/realtime#303.getkey commentedon Nov 24, 2023
Also related: supabase/realtime#486
galacticgibbon commentedon Dec 6, 2023
I have a workaround, by having a separate column, with the concatenated values, updated by a trigger. Easy if you just want 'eq' but you'll have to get creative if you want gt, lt etc.
getkey commentedon Dec 6, 2023
Even better, as far as dirty hacks go 😅, is to use a generated column.
[-]Why only filter allowed on a Flutter/Supabase stream??[/-][+]Add support for multiple filters / complex queries for Realtime and stream methods[/+]leighajarett commentedon Nov 21, 2024
+1 this is something that FlutterFlow users have asked for :)
github-actions commentedon Mar 22, 2026
This issue has been inactive for 180 days.
It will be automatically closed in 30 days if there is no further activity.
If you believe this issue is still relevant, please leave a comment to keep it open.
Thank you for your contributions!
KiddoV commentedon Mar 27, 2026
Any update on this?
spydon commentedon Jun 9, 2026
I think once this PR is merged we can continue to implement this in the SDKs, at least for adding filters with
and.feat(supabase)!: add negated filters and column selection to stream() (…