function TransactionManager::addClientSavepoint
Adds a savepoint on the client transaction.
This is a generic implementation. Drivers should override this method to use a method specific for their client connection.
Parameters
string $name: The name of the savepoint.
Return value
bool Returns TRUE on success or FALSE on failure.
Overrides TransactionManagerBase::addClientSavepoint
File
-
core/
modules/ mysqli/ src/ Driver/ Database/ mysqli/ TransactionManager.php, line 25
Class
- TransactionManager
- MySqli implementation of TransactionManagerInterface.
Namespace
Drupal\mysqli\Driver\Database\mysqliCode
protected function addClientSavepoint(string $name) : bool {
return $this->connection
->getClientConnection()
->savepoint($name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.