I’m currently migrating from Notion to Obsidian and dataview
has been a huge help.
However, I often move notes around, which breaks my FROM
queries. Is there a general way to use the folder of the current file as a source?
e.g. something like:
LIST FROM [[]].file.path
Thanks in advance!
1 Like
holroy
June 21, 2024, 3:46pm
2
Instead of the FROM
you could use WHERE file.folder = this.file.folder
, or if you also want to look in subfolders do WHERE startswith(file.folder, this.file.folder)
4 Likes
Perfect, thank you! TIL this
system
Closed
July 20, 2024, 1:47pm
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.