Function: org-roam-db-insert-tags

org-roam-db-insert-tags is a byte-compiled function defined in org-roam-db.el.

Signature

(org-roam-db-insert-tags)

Documentation

Insert tags for node at point into Org-roam cache.

Source Code

;; Defined in ~/.emacs.d/elpa/org-roam-20260224.1637/org-roam-db.el
(defun org-roam-db-insert-tags ()
  "Insert tags for node at point into Org-roam cache."
  (when-let* ((node-id (org-id-get))
              (tags (org-get-tags)))
    (org-roam-db-query [:insert :into tags
                        :values $v1]
                       (mapcar (lambda (tag)
                                 (vector node-id (substring-no-properties tag))) tags))))