diff options
author | Thanos Apollo <[email protected]> | 2023-11-29 08:01:00 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-11-29 08:01:00 +0200 |
commit | 692c30c29cb76c8f71ab4d226fc7d901996b0eb9 (patch) | |
tree | a03b75233c28384146e0e23071fe5896aac483a7 /gnosis.el | |
parent | 4aba7f53215eb83ca983ee1b2225bb72e377fb7e (diff) |
Add gnosis--drop-table
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -46,6 +46,10 @@ "Create TABLE-NAME for VALUES." (emacsql gnosis-db `[:create-table ,table-name ,values])) +(cl-defun gnosis--drop-table (table) + "Drop TABLE from gnosis-db." + (emacsql gnosis-db `[:drop-table ,table])) + (cl-defun gnosis--insert-into (table-name values) "Insert VALUES to TABLE-NAME." (emacsql gnosis-db `[:insert :into ,table-name :values ,values])) |