Inside your project.clj, add blackwater and clj-time...
(defproject foo "0.1.0-SNAPSHOT"
:description "Zap bug tracker"
:dependencies [
;; other deps omitted
[blackwater "0.0.9"]
[clj-time "0.6.0"]]
Inside your ns:
(ns.foo
(:use korma.db korma.core)
(:require [black.water.korma :refer [decorate-korma!]]))
(decorate-korma!)
You'll get nice output like:
SELECT "project".* FROM "project"| took:31ms SELECT "project".* FROM "project" WHERE ("project"."id" = ?)| took:4ms