summaryrefslogtreecommitdiff
path: root/gnosis.el
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-12-13 22:35:43 +0200
committerThanos Apollo <[email protected]>2023-12-13 22:35:43 +0200
commit65bc308d10bcd7108cebda780ed09b36c542fa15 (patch)
tree34169ad101e03bedcf8b6d32c5595e9011861d32 /gnosis.el
parentf908c2a834c887e517aa73912b1a0c7e39242f49 (diff)
Remove gnosis--get-id & gnosis--get-name
Diffstat (limited to 'gnosis.el')
-rw-r--r--gnosis.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/gnosis.el b/gnosis.el
index 704b228..008ab20 100644
--- a/gnosis.el
+++ b/gnosis.el
@@ -59,13 +59,6 @@
"Insert VALUES to TABLE."
(emacsql gnosis-db `[:insert :into ,table :values ,values]))
-(defun gnosis--get-id (table value)
- "From TABLE get VALUE for id."
- (caar (gnosis--select value table)))
-
-(defun gnosis--get-name (table value name)
- "From TABLE get VALUE for NAME."
- (caar (gnosis--select value table `(= name ,name))))
(defun gnosis--delete (table value)
"From TABLE use where to delete VALUE."