(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 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 |