Name
WITH-TRANSACTION —
Function
Syntax
(WITH-TRANSACTION &KEY (DATABASE '*DEFAULT-DATABASE*) &REST BODY) [macro] =>
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.