Function: org-roam-db-query!
org-roam-db-query! is a byte-compiled function defined in
org-roam-db.el.
Signature
(org-roam-db-query! HANDLER SQL &rest ARGS)
Documentation
Run SQL query on Org-roam database with ARGS.
SQL can be either the emacsql vector representation, or a string. The query is expected to be able to fail, in this situation, run HANDLER.
Source Code
;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-db.el
(defun org-roam-db-query! (handler sql &rest args)
"Run SQL query on Org-roam database with ARGS.
SQL can be either the emacsql vector representation, or a string.
The query is expected to be able to fail, in this situation, run HANDLER."
(condition-case err
(org-roam-db-query sql args)
(emacsql-constraint
(funcall handler err))))