From 28305bab012b4eb0a559f331c356ea4585044dc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Hol=C3=BD?= Date: Tue, 19 Oct 2021 15:38:37 +0200 Subject: [PATCH] docstring for :rollback-only --- src/next/jdbc.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {}))))