Skip to content

Integrant methods for a SQL database connection pool

Notifications You must be signed in to change notification settings

200ok-ch/database.sql.hikaricp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

To install, add the following to your project :dependencies:

[duct/database.sql.hikaricp "0.4.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 © 2018 James Reeves

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

About

Integrant methods for a SQL database connection pool

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Clojure 100.0%