Function: org-roam-node-from-id
org-roam-node-from-id is a natively 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 /nix/store/60hpqw2cczhjli65ml5v1p4g0q2kbyhb-emacs-packages-deps/share/emacs/site-lisp/elpa/org-roam-20260425.1623/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))))