PostgreSQL connection pool + JSONB setup
PostgreSQL connection pool + JSONB setup
(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.
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 |