SQL-logger middleware for Lack with DBI.
(lack:builder
(:sql-logger :out (lambda (out) (format "Executed: ~a" out)))
*app*)
;; When you execute SQL with connection of DBI,
;; => Executed: SELECT * FROM `users` WHERE (`id` = 1) LIMIT 1
- Rudolph-Miller (chopsticks.tk.ppfm@gmail.com)
Copyright (c) 2015 Rudolph-Miller (chopsticks.tk.ppfm@gmail.com)
Licensed under the MIT License.