What I’m trying to do
I often use dataview, with inline fields, to write down questions in my notes, so that I can collect them later with a table, and link back to the context in which I asked them.
For example, I might have (in several different files):
[topology_question::When can a set be both open and closed?]
and then in a separate file, like topology_questions.md
, the table:
TABLE topology_question as "open question"
WHERE topology_question
and this mostly works, producing a table with links to the places in the files where I asked the question.
However, here’s what I’m trying to do: I actually have many inline fields like this, of the form *_question
. E.g., topology_question
, abstract_algebra_question
, etc.
As a first step, I’d like to create a table that can search for inline data keys using a wild card, that would list all inline fields ending in “_question”.
Things I have tried
Naively, I tried:
TABLE subject_question as "open question"
WHERE contains(subject_question, "_question")
but this gives “Dataview: No results to show for table query.”
I’ve gone through the dataview documentation a bit now but I can’t figure this one out. It seems so doable though! Is there an easy solution I’m missing?
thanks.