fix execute-all!

This commit is contained in:
Luciano Laratelli 2025-04-05 17:45:03 +02:00
parent 3a8bab7939
commit 07ff15574e

View file

@ -2,7 +2,7 @@
(:require
[next.jdbc :as jdbc]))
(defn execute-all! [{:keys [example/ds]} statements]
(defn execute-all! [ds statements]
(when (not-empty statements)
(jdbc/with-transaction [tx ds]
(doseq [statement statements]