Connection::$transactionLayers

Tracks the number of "layers" of transactions currently active.

On many databases transactions cannot nest. Instead, we track nested calls to transactions and collapse them into a single transaction.

Type: array

File

core/lib/Drupal/Core/Database/Connection.php, line 53

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $transactionLayers = array();
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.