in-transaction -> with-transaction
This commit is contained in:
parent
a44f59a468
commit
69324ccbe6
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@
|
||||||
(-transact [this body-fn opts]
|
(-transact [this body-fn opts]
|
||||||
(-transact (get-datasource this) body-fn opts)))
|
(-transact (get-datasource this) body-fn opts)))
|
||||||
|
|
||||||
(defmacro in-transaction
|
(defmacro with-transaction
|
||||||
[[sym connectable opts] & body]
|
[[sym connectable opts] & body]
|
||||||
`(-transact ~connectable (fn [~sym] ~@body) ~opts))
|
`(-transact ~connectable (fn [~sym] ~@body) ~opts))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue