A component providing a HikariCP JDBC data source.
Add the following to your project.clj file:
[io.logicblocks/component.jdbc.data-source.hikari "0.1.2"](require '[com.stuartsierra.component :as component])
(require '[component.jdbc.data-source.hikari.core
:as hikari-jdbc-data-source])
(def system
(component/system-map
:hikari-data-source
(hikari-jdbc-data-source/create
{:host "localhost"
:port 5432
:user "admin"
:password "super-secret-password"
:database-name "test"})))Copyright © 2024 LogicBlocks Maintainers
Distributed under the terms of the MIT License.