(transaction? tx-or-conn)
Detects if passed in data source is a transaction or not. NOTE: this only works with HikariCP managed connections/transactions and the connection pool defined in utility-belt.sql.component.connection-pool
Detects if passed in data source is a transaction or not. NOTE: this only works with HikariCP managed connections/transactions and the connection pool defined in utility-belt.sql.component.connection-pool
(with-transaction binding & body)
Wrapper around jdbc transaction macro. Cleans up imports so we always use ut.sql Suports the same options, eg. [tx conn] and [tx conn opts]
Wrapper around jdbc transaction macro. Cleans up imports so we always use ut.sql Suports the same options, eg. [tx conn] and [tx conn opts] + body.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close