@nicolasbulb @complexpoint @Highlander @dan_petter I’m now working to make it easier to query tags that have multiple comma separated values associated. For example
@tag(a,b,c). I think most of the difficulty will go away with the addition of a new ‘a’ comparison modifier. When that modifier is present both sides of the comparison will get converted to arrays before the comparison. Here are some examples:
First without any modifier the following query fails to match
@tag(a,b,c) because the default is to do a string compare, and because of different whitespace the comparison fails.
@tag = a,b , c
On the other hand this next query includes the
[a] modifier. That means both the tags value and the value included in the query are first converted to arrays before the comparison. That conversion process splits on
, and surrounding whitespace, so this query will match the tag
@tag =[a] a,b , c
I’ve also made the
(begins/ends)with predicates array aware. So each of these queries would match
@tag contains[a] c
@tag contains[a] c,a
@tag beginswith[a] a
@tag endswith[a] a
Let me know what you think. With this syntax in place it should now be possible to also implement clicking on a specific tag value and generating a contains query with that value. Let me know what you think.