Config settings to connect to PG
Config settings to connect to PG
(close-connection! conn)
Closes the given connection
Closes the given connection
(commit-transaction! context)
Commits the transaction on the context
Commits the transaction on the context
(create-connection)
(create-connection config)
Creates a new connection pool
Creates a new connection pool
(db-config-map)
(db-config-map config)
Gets the current used db config map
Gets the current used db config map
(jdbc-str-to-map conn-str)
Converts a jdbc string to a map
Converts a jdbc string to a map
(on-shutdown)
Shuts down the global connection
Shuts down the global connection
(rollback-transaction! context)
Rolls back the transaction on the context
Rolls back the transaction on the context
(transaction-run! context f)
Runs the given fn in a transaction. Expects f to return a channel with a result
Runs the given fn in a transaction. Expects f to return a channel with a result
(with-transaction! context)
Returns a context in a transaction
Returns a context in a transaction
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close