πŸ“š node [[querying org roam]]

Querying org-roam

I'd like something like [[org-ql]] for [[org-roam]].

Ideally I can just use org-ql. My first concern is maybe it won't work so well on the large number of files you have in an org-roam project.

Guess I should just try it and see.

Tests

    (org-ql-query
    :select 'element-with-markers
    :from '("~/commonplace/gift-economies-build-community.org")
     :where '(and (heading "Epistemic status"))
)

^ this works

(org-ql-query
:select '(org-get-heading t t t t)
:from (org-roam-list-files)
:where '(and (heading "Epistemic status"))
)

^ this is incredibly slow.

org-ql and org-roam related links

Musings

I guess I could lean on backlinks and org-roam's backlink buffer view…

πŸ“– stoas
β₯± context