import { hugsqlVersion } from '@site/src/version.js'
{`com.layerware/hugsql {:mvn/version "${hugsqlVersion}"}`}
{`[com.layerware/hugsql "${hugsqlVersion}"]`}
You will also need to specify your JDBC driver dependency from one of the following:
For example, to provide support for Postgresql:
org.postgresql/postgresql {:mvn/version "42.3.1"}
[org.postgresql/postgresql "42.3.1"]
:::info
HugSQL defaults to using the clojure.java.jdbc
library to run underlying database commands. If you would prefer to use another underlying database library instead of clojure.java.jdbc
, such as next.jdbc
, please see HugSQL Adapters.
:::
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close