Search for all files where list-type property is present but where the list is empty

What I’m trying to do

I need to search for all files without a particular front-matter property

and then separately

where that property is present but where the list is empty.

Things I have tried

Can’t find any examples. Tried all syntax’s I can think of and tried to replicate in general search.

this doesn’t work for example:

WHERE contains(ontology_association, [[domain]])
WHERE contains(ontology_association, null)

this does the first bit:

WHERE !ontology_association

but how do I check for nothing in the list please if the property is there but with nothing in its array



This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.