What value should I pass to Supabase SELECT "Match at least one filter" condition?

Hello Weweb Community!

I’m having a hard time understanding what to put in the value field of the “Match at least one filter“ condition of the Supabase SELECT action workflow.

I have a bunch of filters in the same SELECT action and I’d like to have an “OR“ instead of an “AND“ clause so that the rows that are filtered contain one of the values from the filters, but not necessarily all of them.

Thanks a lot in advance :slight_smile:

EDIT : after messing around a bit, it seems that it works by strictly following the Supabase doc and passing a value with this structure ‘column1.eq.xValue,column2.eq.xValue‘.

Can someone confirm this is the way?

Hi William :waving_hand:

We do have docs about the general use of the Supabase Select action but indeed we don’t go deep about your specific question.

Did manage to solve it by using Supabase’s structure?

1 Like

Hi William, that seems right. Match at least one filter is same as OR condition.

Here’s reference from Supabase docs about it. The “condition” is set in the Value: ‘id.eq.2,name.eq.Han’ or ‘[key1].eq.[key1Value],[key2].eq.[key2Value]‘

2 Likes

Hi Rivan. Indeed, that’s what I did, and it works perfectly. Thanks :slight_smile:

1 Like