Logical Operators combining two ANDS with an OR #3922
-
https://www.anon.com/api/note?and=(created.gte.2024-12-01,created.lte.2025-02-28) This Date range Works When I combine them with the ampersand between the two conditions: However, I have failed to create an OR. I want records in the date range OR records which are in the Id range. Any ideas? Your help would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can nest those operators:
There is also an example of that in https://docs.postgrest.org/en/v12/references/api/tables_views.html#logical-operators. |
Beta Was this translation helpful? Give feedback.
You can nest those operators:
There is also an example of that in https://docs.postgrest.org/en/v12/references/api/tables_views.html#logical-operators.