diff options
| author | ckonstanski <carlos.konstanski@olo.com> | 2021-05-30 22:01:56 -0600 |
|---|---|---|
| committer | ckonstanski <carlos.konstanski@olo.com> | 2021-05-30 22:01:56 -0600 |
| commit | 7ead89d56e2d54bf65779f35ddfc63155fcce753 (patch) | |
| tree | 423ae6a5c68d5250c730a8a688e236f61f8532a0 /src/database.lisp | |
initial commit
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)) |
