Liking cljdoc? Tell your friends :D

Duct database.sql.hikaricp Build Status

Integrant methods for connecting to a SQL database from the Duct framework using HikariCP, an efficient connection pool.

Installation

Add the following dependency to your deps.edn file:

org.duct-framework/database.sql.hikaricp {:mvn/version "0.5.0"}

Or to your Leiningen project file:

[org.duct-framework/database.sql.hikaricp "0.5.0"]

Usage

This library depends on database.sql and provides the :duct.database.sql/hikaricp key, which is derived from :duct.database/sql.

The key takes the same config options as the Clojure hikari-cp wrapper library, and returns a duct.database.sql.Boundary record that contains a database spec.

{:duct.database.sql/hikaricp {:jdbc-url "jdbc:sqlite:db/example.sqlite"}}

License

Copyright © 2024 James Reeves

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

Can you improve this documentation?Edit on GitHub

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

× close