Multi-statement Transactions
By default, all transactions run as single-statement, auto-commit transactions.
MarkLogic Server also supports multi-statement, explicitly committed transactions in XQuery, Server-Side JavaScript, and XCC.
However, this section covers only related behaviors unique to XCC.
For more details on transaction concepts, see Understanding Transactions in MarkLogic Server in the Application Developer’s Guide.