Dataview Query for number of files with specific *INLINE* metadata parameter

An update: I’ve been playing around, trying to figure it out. Still no luck, but I realized that it has something to do with the inline links. If I query for just the value “101 Reflections” under the hub key, it works as long as I don’t have the double square brackets. That led me to find this page which may help, but right now I am still trying to work on it and it’s not currently working.

Final update: Yes, that thread works.

For future reference, if you want to query using inline metadata with an internal link, you can enclose the internal link with quotes.

  • Here was my Query:
    • $= dv.pages().where(page => page.hub == "[[101 Reflections]]").length
  • Here was the inline metadata:
    • hub:: “[[101 Reflections]]”