From 69324ccbe643a4ffb7194cf21c76f32a8402a11f Mon Sep 17 00:00:00 2001 From: Sean Corfield Date: Sat, 30 Mar 2019 23:11:37 -0700 Subject: [PATCH] in-transaction -> with-transaction --- 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 f80fcc7..abc2ec5 100644 --- a/src/next/jdbc.clj +++ b/src/next/jdbc.clj @@ -193,7 +193,7 @@ (-transact [this body-fn opts] (-transact (get-datasource this) body-fn opts))) -(defmacro in-transaction +(defmacro with-transaction [[sym connectable opts] & body] `(-transact ~connectable (fn [~sym] ~@body) ~opts))