mirror of
https://gitlab.com/eql/EQL5.git
synced 2026-02-27 10:12:07 -08:00
add missing module classes; add example "storage-info.lisp"; some revisions;
This commit is contained in:
parent
b50d5bbb62
commit
929f28d768
74 changed files with 2389 additions and 2017 deletions
|
|
@ -12,10 +12,10 @@
|
|||
"windowTitle" "sqlite"))
|
||||
|
||||
(defun populate-db ()
|
||||
;; dumb, just for this example; you normally want QSqlQuery
|
||||
(x:do-with (|exec| *database*)
|
||||
"CREATE TABLE friends ( id INT PRIMARY KEY, name VARCHAR(50), country INT )"
|
||||
"CREATE TABLE countries ( id INT PRIMARY KEY, country VARCHAR(50) )")
|
||||
;; dumb, just for this example; you normally want QSqlQuery
|
||||
(mapc (lambda (id name country)
|
||||
(|exec| *database*
|
||||
(format nil "INSERT INTO friends VALUES (~A, '~A', ~A)" id name country)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue