Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.79 KB

transactions.rst

File metadata and controls

55 lines (34 loc) · 1.79 KB

Transactions

When you work with the DSQL, you can work with transactions. There are 2 enhancements to the standard functionality of transactions in DSQL:

  1. You can start nested transactions.
  2. You can use :phpConnection::atomic() which has a nicer syntax.

It is recommended to always use atomic() in your code.

Warning

If you roll-back internal transaction and commit external transaction, then result might be unpredictable. Please discuss this atk4/dsql#89