Here is one way:
#+BEGIN_QUERY
{
:query [:find (pull ?b [*])
:where
[?key :block/original-name "Key Projects"]
[?b :block/path-refs ?key]
(not [?b :block/refs ?key])
]
:remove-block-children? false
}
#+END_QUERY
Here is one way:
#+BEGIN_QUERY
{
:query [:find (pull ?b [*])
:where
[?key :block/original-name "Key Projects"]
[?b :block/path-refs ?key]
(not [?b :block/refs ?key])
]
:remove-block-children? false
}
#+END_QUERY