function TransactionManager::beginClientTransaction
Same name in this branch
- 11.x core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php \Drupal\sqlite\Driver\Database\sqlite\TransactionManager::beginClientTransaction()
- 11.x core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php \Drupal\pgsql\Driver\Database\pgsql\TransactionManager::beginClientTransaction()
Same name in other branches
- 10 core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php \Drupal\sqlite\Driver\Database\sqlite\TransactionManager::beginClientTransaction()
- 10 core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php \Drupal\mysql\Driver\Database\mysql\TransactionManager::beginClientTransaction()
- 10 core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php \Drupal\pgsql\Driver\Database\pgsql\TransactionManager::beginClientTransaction()
Overrides TransactionManagerBase::beginClientTransaction
File
-
core/
modules/ mysql/ src/ Driver/ Database/ mysql/ TransactionManager.php, line 23
Class
- TransactionManager
- MySql implementation of TransactionManagerInterface.
Namespace
Drupal\mysql\Driver\Database\mysqlCode
protected function beginClientTransaction() : bool {
return $this->connection
->getClientConnection()
->beginTransaction();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.