DatabaseConnection::$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

includes/database/database.inc, line 225

Class

DatabaseConnection
Base Database API class.

Code

protected $transactionLayers = array();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.