1.20.x database.inc public DatabaseConnection::transactionDepth()

Determines current transaction depth.

File

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

Class

DatabaseConnection
Base Database API class.

Code

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