Querying org-roam
*planted: 08/01/2022last tended: 08/01/2022
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.
1. 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.
2. org-ql and org-roam related links
- GitHub - natask/org-roam-search: org ql-like syntax for org roam search. - doesn't look that powerful though, not close to org-ql
- alphapapa/org-ql#183 Using org-ql as powerfull filtering tool on top of org-r… - reyman asks for something similar
- alphapapa/org-ql#200 Delaying mode-hooks when opening Org files for searching… - discussion here about performance issues
- org-roam and tags for querying philosophy issues : emacs
3. Musings
I guess I could lean on backlinks and org-roam's backlink buffer view…
4. Elsewhere
4.1. In my garden
Notes that link to this note (AKA backlinks).