function DatabaseConnection::transactionDepth
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
Class
- DatabaseConnection
- Base Database API class.
Code
public function transactionDepth() {
return count($this->transactionLayers);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.