Bases: filter to match all notes that have properties with empty values?

Ignoring tags for the moment, there’s a way to do All notes that contain a property, but it doesn’t have a value mentioned here:

https://forum.obsidian.md/t/bases-migration-quick-start-guide/101571#p-326077-query-all-in-note-with-a-specific-property-8

So, note.keys().contains("hello") and !hello || hello == null filters.

    filters:
      and:
        - note.keys().contains("hello")
        - "!hello || hello == null"

Hopefully that gets you started and others jump in with suggestions.

1 Like