|
|
|
@ -37,6 +37,17 @@
|
|
|
|
|
params))
|
|
|
|
|
(qry session params)))
|
|
|
|
|
|
|
|
|
|
(defn exec-queries! [& tuples]
|
|
|
|
|
(with-open [session (db/get-session @conn)]
|
|
|
|
|
(doseq [tuple tuples]
|
|
|
|
|
(let [qry (first tuple)
|
|
|
|
|
params (second tuple)]
|
|
|
|
|
(devmode/send-to-bar
|
|
|
|
|
(str (butiful-query qry)
|
|
|
|
|
"<br>---Params---<br>"
|
|
|
|
|
params))
|
|
|
|
|
(qry session params)))))
|
|
|
|
|
|
|
|
|
|
(defn now-str []
|
|
|
|
|
(time-format/unparse
|
|
|
|
|
(time-format/formatters :basic-date-time)
|
|
|
|
|