I need a list of all notes with a certain property that are linked to notes with the same property, but which themselves do not have a link to that note.
In other words, all notes with one-way links.
I’ve tried using Dataview, but I’m not sure how to do this through it.
I don’t know how it works, but it works for me.
TABLE
filter(file.inlinks, (i) => i.suffix != "md") AS link
FROM ""
WHERE !contains(file.inlinks, file.outlinks)
AND suffix = "d"
AND filter(file.inlinks, (i) => i.suffix != "md") != filter(file.outlinks, (i) => i.suffix != "md")
Here important thing they’re WHERE !contains(file.inlinks, file.outlinks)
and file.inlinks AS link
.
Other it’s only filtering.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.