• (rollback)
  • (rollback val)
Accessor for the rollback flag on the current connection

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/sql/internal.clj:44 top

(defn rollback
  "Accessor for the rollback flag on the current connection"
  ([]
     (deref (:rollback *db*)))
  ([val]
     (swap! (:rollback *db*) (fn [_] val))))
Vars in clojure.contrib.sql.internal/rollback: defn deref fn swap! val
Used in 0 other vars

Comments top

No comments for rollback. Log in to add a comment.