© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
8 replies
Deleted User

How to conditionally filter?

I have something like this:

When you look at .match(), I am matching two variables.
I want match to execute whenever the variables are not empty strings.
In this case they are empty and it throws an error.
EBF2C234-16AC-4551-9436-9AC7C3E00908.jpg
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

How to filter on joined table
SupabaseSSupabase / help-and-questions
4y ago
How to filter is not null
SupabaseSSupabase / help-and-questions
4y ago
how to filter records based on geo location
SupabaseSSupabase / help-and-questions
4y ago
How to filter on the Supabase v2 subscriptions ?
SupabaseSSupabase / help-and-questions
4y ago