mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
example 'meshtastic': add deletion of messages; revisions
This commit is contained in:
parent
8f42003e36
commit
e6b25c8d60
8 changed files with 128 additions and 85 deletions
|
|
@ -31,3 +31,7 @@
|
|||
(let ((val (first (query "select max(mid) from messages"))))
|
||||
(if (numberp val) val 0)))
|
||||
|
||||
(defun delete-message (mid)
|
||||
(query "delete from messages where mid = ?"
|
||||
mid))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue