Function IN-TRANSACTION-P — A predicate for testing whether a transaction is currently in progress.
Function
in-transaction-p &key database => result
A database object. This will default to the value of *default-database*.
A Boolean.
A predicate to test whether database, which defaults to *default-database*, is currently within the scope of a transaction.
(in-transaction-p) => NIL (start-transaction) => NIL (in-transaction-p) => T (commit) => NIL (in-transaction-p) => NIL
None.
None.
None.
in-transaction-p is a CLSQL extension.