Dataview - how check if metadata equal is current file name

Hello. I have a two entities - books and notes from books.

In notes, I use metadata

Book: “[[Book name]]”

then I use query in Book:

list from "notes" where Book=[[Book name]]

and It works. But I want to create a common template for books and try to use filename in query:

where - don’t work
where Book=[[]] - don’t work

It is possible - use the file properties in dataview queries?


1 Like

WHERE Book =

[[Book name]] is a link; is a string; is a link


Thank you very much! It works)

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