diff options
author | Thanos Apollo <[email protected]> | 2023-12-28 07:31:09 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-12-28 07:31:09 +0200 |
commit | be4c80642ef8da8bd377ced3d1f6ef9c8e0dd720 (patch) | |
tree | 8778424763c245cf371a352977f694f463bf5087 /gnosis.el | |
parent | e4f705d283be18337b62d8b97438b6f7f9ce15a6 (diff) |
Add gnosis-get-note-tags
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -87,6 +87,10 @@ Example: "Get VALUE from TABLE, optionally with where RESTRICTIONS." (caar (gnosis--select value table restrictions))) +(defun gnosis-get-note-tags (id) + "Return tags for note ID." + (gnosis-get 'tags 'notes `(= id ,id))) + (defun gnosis--delete (table value) "From TABLE use where to delete VALUE." (emacsql gnosis-db `[:delete :from ,table :where ,value])) |