Function: org-roam-db-clear-all

org-roam-db-clear-all is an interactive and natively compiled function defined in org-roam-db.el.

Signature

(org-roam-db-clear-all)

Documentation

Clears all entries in the Org-roam cache.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/60hpqw2cczhjli65ml5v1p4g0q2kbyhb-emacs-packages-deps/share/emacs/site-lisp/elpa/org-roam-20260425.1623/org-roam-db.el
;;; Database API
;;;; Clearing
(defun org-roam-db-clear-all ()
  "Clears all entries in the Org-roam cache."
  (interactive)
  (when (file-exists-p org-roam-db-location)
    (dolist (table (mapcar #'car org-roam-db--table-schemata))
      (org-roam-db-query `[:delete :from ,table]))))