Hi all,
Can’t seem to find a thread about this.
I have the following query:
${template.each(
query[[
from index.tag "task"
where
not done
and not due
and (pri > 1 and pri < 3 or not pri)
and not table.includes(tags, "grocery")
order by pri desc
]],
templates.taskItemWithDuePri)}
Is there a way of excluding “nested” tags? ie grocery and grocery/test? Instead of adding and not table.includes(tags, "grocery/test"), I’d like something like startsWith for this but can’t find a way to make it work.
Thanks!