1 database.inc | public DatabaseConnection::transactionDepth() |
Determines current transaction depth.
File
- core/
includes/ database/ database.inc, line 1056 - Core systems for the database layer.
Class
- DatabaseConnection
- Base Database API class.
Code
public function transactionDepth() {
return count($this->transactionLayers);
}