cours/dataview MOC query.md
Oscar Plaisant f91c506a9e update
2025-03-16 18:05:45 +01:00

1.0 KiB

up::obsidian workflow MOCs, obsidian plugin dataview title::"Depth-first search in the reciprocal of up:: property" #s/obsidian #s/PKM


[!important] goals

  • have all the notes about a subject

[!note] implementation

The query

[!query] Sous-notes de =this.file.link

TABLE title, up as "Up", up.up as "2-Up", up.up.up as "3-Up", up.up.up.up as "4-Up"
FROM -#cours AND -#exercice AND -"daily" AND -#excalidraw AND -#MOC
WHERE any(map([up, up.up, up.up.up, up.up.up.up], (x) => econtains(x, this.file.link)))
WHERE file != this.file
SORT up.up.up.up, up.up.up, up.up, up