function TransactionManagerBase::beginClientTransaction

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php \Drupal\Core\Database\Transaction\TransactionManagerBase::beginClientTransaction()

Begins a transaction on the client connection.

Return value

bool Returns TRUE on success or FALSE on failure.

1 call to TransactionManagerBase::beginClientTransaction()
TransactionManagerBase::push in core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php
Pushes a new Drupal transaction on the stack.
3 methods override TransactionManagerBase::beginClientTransaction()
TransactionManager::beginClientTransaction in core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php
Begins a transaction on the client connection.
TransactionManager::beginClientTransaction in core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php
Begins a transaction on the client connection.
TransactionManager::beginClientTransaction in core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php
Begins a transaction on the client connection.

File

core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php, line 499

Class

TransactionManagerBase
The database transaction manager base class.

Namespace

Drupal\Core\Database\Transaction

Code

protected abstract function beginClientTransaction() : bool;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.