diff options
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -291,6 +291,10 @@ Example: "Return caar of VALUE from TABLE, optionally with where RESTRICTIONS." (caar (gnosis-select value table restrictions))) +(defun gnosis-get-type (id) + "Return note for note ID." + (car (gnosis-select-id 'type 'notes id))) + (defun gnosis--delete (table value) "From TABLE use where to delete VALUE." (emacsql gnosis-db `[:delete :from ,table :where ,value])) |