Liking cljdoc? Tell your friends :D

co.gaiwan.oak.system.database

PostgreSQL connection pool + JSONB setup

PostgreSQL connection pool + JSONB setup
raw docstring

componentclj


hikari-data-sourceclj

(hikari-data-source opts)

Creates and configures a HikariCP DataSource from a map of options.

Required key: :url - The PostgreSQL JDBC URL (e.g., "jdbc:postgresql://host:port/db")

Recommended keys: :username - Database username :password - Database password

Common HikariCP pool tuning keys (as kebab-case keywords): :auto-commit - boolean :connection-timeout - long (milliseconds) :idle-timeout - long (milliseconds) :max-lifetime - long (milliseconds) :minimum-idle - int :maximum-pool-size - int :pool-name - string :read-only - boolean :validation-timeout - long (milliseconds)

See the internal set-hikari-option! function for a full list of supported keys.

Creates and configures a HikariCP DataSource from a map of options.

Required key:
  :url      - The PostgreSQL JDBC URL (e.g., "jdbc:postgresql://host:port/db")

Recommended keys:
  :username - Database username
   :password - Database password

Common HikariCP pool tuning keys (as kebab-case keywords):
  :auto-commit        - boolean
  :connection-timeout - long (milliseconds)
  :idle-timeout       - long (milliseconds)
  :max-lifetime       - long (milliseconds)
  :minimum-idle       - int
  :maximum-pool-size  - int
  :pool-name          - string
  :read-only          - boolean
  :validation-timeout - long (milliseconds)

See the internal `set-hikari-option!` function for a full list of supported keys.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close