You are here

protected property Connection::$transactionLayers in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\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 58
Contains \Drupal\Core\Database\Connection.

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

protected $transactionLayers = array();