Skip to main content

next.jdbc Adapter

Adapter for next.jdbc. (as of HugSQL 0.5.1).

In order to maintain the closest behavior to clojure.java.jdbc, the adapter currently defaults to setting the result set :builder-fn option to next.jdbc.result-set/as-unqualified-lower-maps. This behavior can be overridden when setting the adapter.

deps.edn

com.layerware/hugsql-core {:mvn/version "0.5.1"}
com.layerware/hugsql-adapter-next-jdbc {:mvn/version "0.5.1"}

Leiningen

[com.layerware/hugsql-core "0.5.1"]
[com.layerware/hugsql-adapter-next-jdbc "0.5.1"]

See Setting An Adapter for enabling an adapter in your code.