From fadc296ccca067a22a929524f62f5007de0d7e1f Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 10 Jan 2024 08:55:55 +0200 Subject: gnosis-select & gnosis--insert-into: Update docstrings --- gnosis.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnosis.el b/gnosis.el index 7185add..93ce244 100644 --- a/gnosis.el +++ b/gnosis.el @@ -122,7 +122,9 @@ (cl-defun gnosis-select (value table &optional (restrictions '1=1)) - "Select VALUE from TABLE, optionally with RESTRICTIONS." + "Select VALUE from TABLE, optionally with RESTRICTIONS. + +Use `gnosis-db-init' to initialize `gnosis-db' and create essential directories." (gnosis-db-init) (emacsql gnosis-db `[:select ,value :from ,table :where ,restrictions])) @@ -135,7 +137,9 @@ (emacsql gnosis-db `[:drop-table ,table])) (cl-defun gnosis--insert-into (table values) - "Insert VALUES to TABLE." + "Insert VALUES to TABLE. + +Use `gnosis-db-init' to initialize `gnosis-db' and create essential directories." (gnosis-db-init) (emacsql gnosis-db `[:insert :into ,table :values ,values])) -- cgit v1.2.3