Indentation clean up; note master docs ahead of released docs

This commit is contained in:
Sean Corfield 2019-11-16 16:11:11 -08:00
parent e236b00cdd
commit 714d79a543
2 changed files with 10 additions and 8 deletions

View file

@ -8,7 +8,7 @@ The latest versions on Clojars and on cljdoc:
[![Clojars Project](https://clojars.org/seancorfield/next.jdbc/latest-version.svg)](https://clojars.org/seancorfield/next.jdbc) [![cljdoc badge](https://cljdoc.org/badge/seancorfield/next.jdbc)](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT) [![Clojars Project](https://clojars.org/seancorfield/next.jdbc/latest-version.svg)](https://clojars.org/seancorfield/next.jdbc) [![cljdoc badge](https://cljdoc.org/badge/seancorfield/next.jdbc)](https://cljdoc.org/d/seancorfield/next.jdbc/CURRENT)
This documentation is for the 1.0.10 release -- [see the CHANGELOG](CHANGELOG.md). This documentation is for **master** after the 1.0.10 release -- [see the CHANGELOG](CHANGELOG.md).
* [Getting Started](/doc/getting-started.md) * [Getting Started](/doc/getting-started.md)
* [Migrating from `clojure.java.jdbc`](/doc/migration-from-clojure-java-jdbc.md) * [Migrating from `clojure.java.jdbc`](/doc/migration-from-clojure-java-jdbc.md)

View file

@ -76,10 +76,12 @@ Assuming you have some logging library available in your application, such as [t
```clojure ```clojure
(def ds (mw/wrapper (jdbc/get-datasource db-spec) (def ds (mw/wrapper (jdbc/get-datasource db-spec)
{:pre-process-fn (fn [sql-p opts] {:pre-process-fn
(fn [sql-p opts]
(logger/info "About to execute" sql-p) (logger/info "About to execute" sql-p)
[sql-p opts]) [sql-p opts])
:rs!-fn (fn [rs opts] :rs!-fn
(fn [rs opts]
(logger/info "=>" (count rs) "rows") (logger/info "=>" (count rs) "rows")
rs)})) rs)}))