Forum Discussion
JakeS
10 years agoLithium Alumni (Retired)
If you just need messages with one label, you can use the following in LiQL: SELECT * FROM messages WHERE labels.text = 'label' ORDER BY post_time DESC
For multiple label search, use: SELECT * FROM messages WHERE labels.text IN ('label1', 'label2') ORDER BY post_time DESC
For multiple label search, use: SELECT * FROM messages WHERE labels.text IN ('label1', 'label2') ORDER BY post_time DESC
Related Content
- 4 years ago
- 12 years ago