Lấy nguồn cho do-commands
( đây ) và xóa cuộc gọi đến transaction
:
(defn drop-database [name]
(sql/with-connection db
(with-open [s (.createStatement (sql/connection))]
(.addBatch s (str "drop database " name))
(seq (.executeBatch s)))))