public Connection::transactionDepth()
Determines the current transaction depth.
Return value
int The current transaction depth.
File
- core/lib/Drupal/Core/Database/Connection.php, line 1028
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\Database
Code
public function transactionDepth() { return count($this->transactionLayers); }
Please login to continue.