Function: org-roam-node-from-id
org-roam-node-from-id is a byte-compiled function defined in
org-roam-node.el.
Signature
(org-roam-node-from-id ID)
Documentation
Return an org-roam-node for the node containing ID.
Return nil if a node with ID does not exist.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-node.el
(defun org-roam-node-from-id (id)
"Return an `org-roam-node' for the node containing ID.
Return nil if a node with ID does not exist."
(when (> (caar (org-roam-db-query [:select (funcall count) :from nodes
:where (= id $s1)]
id)) 0)
(org-roam-populate (org-roam-node-create :id id))))