When specifying 'or' as the query parameter the sql shows an 'and' clause, why is this? #2463
-
My get request is this but the sql (using supabase logging) is the following I would have expected the AND to be an OR. This of course produces an unexpected result. Am I misunderstanding how postgrest works? (full sql is the following) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You need to put it as:
Check https://postgrest.org/en/stable/api.html#logical-operators
That applies because your |
Beta Was this translation helpful? Give feedback.
-
I got it! Thanks |
Beta Was this translation helpful? Give feedback.
You need to put it as:
Check https://postgrest.org/en/stable/api.html#logical-operators
That applies because your
or
has a single value