diff --git a/src/next/jdbc.clj b/src/next/jdbc.clj index 4e1a247..90afd0f 100644 --- a/src/next/jdbc.clj +++ b/src/next/jdbc.clj @@ -360,7 +360,7 @@ * `:isolation` -- `:none`, `:read-committed`, `:read-uncommitted`, `:repeatable-read`, `:serializable`, * `:read-only` -- `true` / `false`, - * `:rollback-only` -- `true` / `false`." + * `:rollback-only` -- `true` / `false` - set the transaction to always rollback, even on success" [[sym transactable opts] & body] (let [con (vary-meta sym assoc :tag 'java.sql.Connection)] `(transact ~transactable (^{:once true} fn* [~con] ~@body) ~(or opts {}))))