Liking cljdoc? Tell your friends :D

sidebar_position: 2

import { hugsqlVersion } from '@site/src/version.js'

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 "${hugsqlVersion}"}
com.layerware/hugsql-adapter-next-jdbc {:mvn/version "${hugsqlVersion}"}`}

Leiningen


{`[com.layerware/hugsql-core "${hugsqlVersion}"]
[com.layerware/hugsql-adapter-next-jdbc "${hugsqlVersion}"]`}

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

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close