Name

WITH-TRANSACTION —

Function

Syntax

       (WITH-TRANSACTION &KEY (DATABASE '*DEFAULT-DATABASE*) &REST BODY) [macro] => 

Arguments and Values

Description

Starts a transaction in the database specified by DATABASE, which is *DEFAULT-DATABASE* by default, and executes BODY within that transaction. If BODY aborts or throws, DATABASE is rolled back and otherwise the transaction is committed.

Examples

        
      

Side Effects

Affected by

Exceptional Situations

See Also

Notes