Forum Discussion
PerBonomi
6 years agoBoss
AND/Or I think not so much directly in ONE query, but the default is this:
select * from messages where labels.text in ('test','test2')
Parshant
6 years agoBoss
You can use below liql query of constraints to get the messages from multiple labels. and you can also use AND/OR for query one or more fields for the messages records.
SELECT id FROM messages WHERE labels.text IN ('headphones', 'wireless', 'cordless')
You can check all supported constraints here.
Related Content
- 9 days ago
- 2 years ago
- 5 months ago
- 4 years ago
- 2 years ago