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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |