Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (def datasource (hikari/make-datasource {:adapter "postgresql"
- :url "jdbc:postgresql://localhost:5432/somedb"}))
- ;; Doesn't seem to release the connections, it can only run `pool-size` times
- (jdbc/with-db-connection [conn {:datasource datasource}]
- (sql/some-hugsql-query conn))
Add Comment
Please, Sign In to add comment