do-commands
のソースを取得します (こちら> )そしてtransaction
への呼び出しを削除します :
(defn drop-database [name]
(sql/with-connection db
(with-open [s (.createStatement (sql/connection))]
(.addBatch s (str "drop database " name))
(seq (.executeBatch s)))))
do-commands
のソースを取得します (こちら> )そしてtransaction
への呼び出しを削除します :
(defn drop-database [name]
(sql/with-connection db
(with-open [s (.createStatement (sql/connection))]
(.addBatch s (str "drop database " name))
(seq (.executeBatch s)))))