W3cubDocs

/Drupal 8

protected property 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();

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Connection.php/property/Connection::transactionLayers/8.1.x