#community-help

Querying with Multiple Values for Tags

TLDR JinW asked how to filter results including all provided values for tags. Kishore Nallan suggested using 'AND' is the only way.

Powered by Struct AI
2
25mo
Solved
Join the chat
Oct 20, 2021 (25 months ago)
JinW
Photo of md5-be53735a2b0297bb542711c1d2ecea45
JinW
09:21 AM
Is it possible to do filter_by that must return results that include all the provided values for tags(string[])? e.g tags:=[a,b,c,d]. I could do tags:=a && tags:=b && tags:=c && tags:=d but it’s not ideal
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
02:34 PM
Using AND is the only way to do it.