Function: org-roam-db--get-connection

org-roam-db--get-connection is a natively compiled function defined in org-roam-db.el.

Signature

(org-roam-db--get-connection)

Documentation

Return the database connection, if any.

Source Code

;; Defined in /nix/store/60hpqw2cczhjli65ml5v1p4g0q2kbyhb-emacs-packages-deps/share/emacs/site-lisp/elpa/org-roam-20260425.1623/org-roam-db.el
;;; Core Functions
(defun org-roam-db--get-connection ()
  "Return the database connection, if any."
  (gethash (expand-file-name (file-name-as-directory org-roam-directory))
           org-roam-db--connection))