Skip to content

rudolph-miller/lack-middleware-sql-logger

Repository files navigation

Lack-Middleware-SQL-Logger

SQL-logger middleware for Lack with DBI.

Usage

(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

Author

Copyright

Copyright (c) 2015 Rudolph-Miller (chopsticks.tk.ppfm@gmail.com)

License

Licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published