I want a table-style list of notes with a type: “” metadata. For example, I want a list of games from the metadata type = games
TABLE where type = game
sort name asc
Doing so pulls every note in my vault, regardless of whether the type (in every note’s metadata) has “games” in it.
This seems like a very simple request; is it too simple for dataview to understand? I don’t want to use tags for this situation, because I don’t want the tags floating around other defining tags (such as tags for daily activities or specific info related to a story I’m writing).
To set metadata, you can either use YAML front matter, where you start the document with a block of YAML contained by three dashes:
---
type: game
---
Rest of document
Or, you can use double colons within the document:
# Title at start of document, for example
type:: game
Rest of document
type = game written somewhere in a document won’t establish anything. There may be other ways to set metadata, but those are the two common ways I know.
I just found my error!
metadata needs a colon, not an equal sign. But in the query, you use an equal sign. I was interchanging the two at the same time to try and solve it.