From f79ee9e8501b4998086b4ae92853c7c09768bea8 Mon Sep 17 00:00:00 2001 From: Sayan Date: Wed, 15 Apr 2020 06:09:58 +0000 Subject: [PATCH] Correct database query function (#463) `org-roam-sql` is obsolete now. Also changed the syntax that works for the new `org-roam-db-query` function. --- doc/org_export.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/org_export.md b/doc/org_export.md index 5f45132..f179aaf 100644 --- a/doc/org_export.md +++ b/doc/org_export.md @@ -9,7 +9,7 @@ in-built publishing or ox-hugo -- use the following snippet to add a (concat acc (format "- [[file:%s][%s]]\n" (file-relative-name (car it) org-roam-directory) (org-roam--get-title-or-slug (car it)))) - "" (org-roam-sql [:select [from] :from links :where (= to $s1) :and (= from $s2)] file "roam")) + "" (org-roam-db-query [:select [from] :from links :where (= to $s1)] file)) "")) (defun my/org-export-preprocessor (backend)