This commit is contained in:
Sean Corfield 2023-03-12 17:17:39 -07:00
parent 70a5db8b29
commit 6f33d5bde2
3 changed files with 5 additions and 4 deletions

View file

@ -4,6 +4,7 @@ Only accretive/fixative changes will be made from now on.
* 1.3.next in progress * 1.3.next in progress
* Fix [#243](https://github.com/seancorfield/next-jdbc/issues/243) by ensure URI properties become keywords. * Fix [#243](https://github.com/seancorfield/next-jdbc/issues/243) by ensure URI properties become keywords.
* Address [#242](https://github.com/seancorfield/next-jdbc/issues/242) by making the logging wrapper aware of the default options wrapper.
* 1.3.858 -- 2023-03-05 * 1.3.858 -- 2023-03-05
* Address [#241](https://github.com/seancorfield/next-jdbc/issues/241) by correcting link to PostgreSQL docs. * Address [#241](https://github.com/seancorfield/next-jdbc/issues/241) by correcting link to PostgreSQL docs.

View file

@ -1,4 +1,4 @@
;; copyright (c) 2018-2021 Sean Corfield, all rights reserved ;; copyright (c) 2018-2023 Sean Corfield, all rights reserved
(ns next.jdbc (ns next.jdbc
"The public API of the next generation java.jdbc library. "The public API of the next generation java.jdbc library.
@ -438,7 +438,7 @@
the Datasources, Connections & Transactions section of Getting Started for the Datasources, Connections & Transactions section of Getting Started for
more details, and some examples of use with these functions." more details, and some examples of use with these functions."
[connectable sql-logger & [result-logger]] [connectable sql-logger & [result-logger]]
(logger/->SQLLogging connectable sql-logger result-logger)) (logger/->SQLLogging connectable sql-logger result-logger (:options connectable)))
(def snake-kebab-opts (def snake-kebab-opts
"A hash map of options that will convert Clojure identifiers to "A hash map of options that will convert Clojure identifiers to

View file

@ -1,4 +1,4 @@
;; copyright (c) 2021 Sean Corfield, all rights reserved ;; copyright (c) 2021-2023 Sean Corfield, all rights reserved
(ns ^:no-doc next.jdbc.sql-logging (ns ^:no-doc next.jdbc.sql-logging
"Implementation of sql-logging logic." "Implementation of sql-logging logic."
@ -6,7 +6,7 @@
(set! *warn-on-reflection* true) (set! *warn-on-reflection* true)
(defrecord SQLLogging [connectable sql-logger result-logger]) (defrecord SQLLogging [connectable sql-logger result-logger options])
(extend-protocol p/Sourceable (extend-protocol p/Sourceable
SQLLogging SQLLogging