Little hack to view the cache (aka databse) using DB Brower for sqllite

Might as well share this…

    (defun org-roam-view-db-bah ()
      ;; This only works on the MacOS, but that ought nto be
      ;; Brew can install DB Browser for Sqlite<>
      ;;   brew install --cask db-browser-for-sqlite
       ((eq system-type 'darwin)
         (format "open \"/Applications/DB Browser for\" --args --table nodes %s" org-roam-db-location)))
         (message "org-roam-view-db-bah not yet working on this system-type")))

Useful if you are curious what the cache knows.

1 Like