You are here

public function DatabaseConnection::transactionDepth in Drupal 7

Determines current transaction depth.

1 call to DatabaseConnection::transactionDepth()
DatabaseConnection::inTransaction in includes/database/database.inc
Determines if there is an active transaction open.

File

includes/database/database.inc, line 1070
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

public function transactionDepth() {
  return count($this->transactionLayers);
}