diff options
Diffstat (limited to 'src/database.lisp')
| -rw-r--r-- | src/database.lisp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/database.lisp b/src/database.lisp new file mode 100644 index 0000000..3762bc9 --- /dev/null +++ b/src/database.lisp @@ -0,0 +1,8 @@ +;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10 -*- +(declaim (optimize (speed 0) (safety 3) (debug 3))) + +(in-package :org-ckons-sql) + +(defmacro with-database (db &body body) + `(postmodern:with-connection ,db + ,@body)) |
