Lindsey
6 years agoLeader
Can I use keyword "or" in API browser?
When I search:
select id from messages where labels.text='Nursing'
the API browser returns 3 results.
When I search:
select id from messages where labels.text='Project Manager'
the API browser returns 2 results.
However, when I search:
select id from messages where labels.text='Project Manager' or labels.text='Nursing'
0 results are returned. Not an error message, just 0 results.
Am I doing something wrong? Is there not the ability to search with the keyword "or"? I don't understand how I am getting these results.
Lindsey
Here OR is also working as AND and I have seen the same issue in Match query also.
But you can pass multiple labels using IN query.select id from messages where labels.text IN ('Label1', 'Label2')