Commits

Shantanu Kumar committed 8421bae

add `show-sql-fn` in documentation for *dbspec*

  • Participants
  • Parent commits 8400d1e

Comments (0)

Files changed (1)

src/main/clj/org/bituf/clj_dbspec.clj

                   2. I false, both READ and WRITE operations execute fine
     :show-sql    (Boolean default true)
                   1. If true, SQL statements should be printed.
+    :show-sql-fn (function, default: to print SQL statement using `println`)
+                  You may like to rebind this to fn that prints via a logger
     :clj-to-db   (function, default: to string, replace '-' => '_')
                   1. Dictates how are identifiers converted from Clojure to
                      the Database.