Search for trans

  1. Search 7.x for trans
  2. Search 9.5.x for trans
  3. Search 8.9.x for trans
  4. Search 11.x for trans
  5. Other projects
Title Object type File name Summary
Transaction class core/lib/Drupal/Core/Database/Transaction.php A wrapper class for creating and managing database transactions.
Transaction.php file core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Transaction.php
Transaction.php file core/lib/Drupal/Core/Database/Transaction.php
Transaction::$connection property core/lib/Drupal/Core/Database/Transaction.php The connection object for this transaction.
Transaction::$name property core/lib/Drupal/Core/Database/Transaction.php The name of the transaction.
Transaction::$rolledBack property core/lib/Drupal/Core/Database/Transaction.php A boolean value to indicate whether this transaction has been rolled back.
Transaction::name function core/lib/Drupal/Core/Database/Transaction.php Retrieves the name of the transaction or savepoint.
Transaction::rollBack function core/lib/Drupal/Core/Database/Transaction.php Rolls back the current transaction.
Transaction::__construct function core/lib/Drupal/Core/Database/Transaction.php
Transaction::__destruct function core/lib/Drupal/Core/Database/Transaction.php
TransactionCommitFailedException class core/lib/Drupal/Core/Database/TransactionCommitFailedException.php Exception thrown when a commit() function fails.
TransactionCommitFailedException.php file core/lib/Drupal/Core/Database/TransactionCommitFailedException.php
TransactionException class core/lib/Drupal/Core/Database/TransactionException.php Exception thrown by an error in a database transaction.
TransactionException.php file core/lib/Drupal/Core/Database/TransactionException.php
TransactionExplicitCommitNotAllowedException class core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php Exception to deny attempts to explicitly manage transactions.
TransactionExplicitCommitNotAllowedException.php file core/lib/Drupal/Core/Database/TransactionExplicitCommitNotAllowedException.php
TransactionManager class core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php MySql implementation of TransactionManagerInterface.
TransactionManager class core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php SQLite implementation of TransactionManagerInterface.
TransactionManager class core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php PostgreSql implementation of TransactionManagerInterface.
TransactionManager.php file core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php
TransactionManager.php file core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php
TransactionManager.php file core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php
TransactionManager::beginClientTransaction function core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php Begins a transaction on the client connection.
TransactionManager::beginClientTransaction function core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php Begins a transaction on the client connection.
TransactionManager::beginClientTransaction function core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php Begins a transaction on the client connection.
TransactionManager::commitClientTransaction function core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php Commits a client transaction.
TransactionManager::commitClientTransaction function core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php Commits a client transaction.
TransactionManager::commitClientTransaction function core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php Commits a client transaction.
TransactionManager::processRootCommit function core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php Processes the root transaction commit.
TransactionManager::releaseClientSavepoint function core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php Releases a savepoint on the client transaction.
TransactionManager::rollbackClientSavepoint function core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php Rolls back to a savepoint on the client transaction.
TransactionManager::rollbackClientTransaction function core/modules/mysql/src/Driver/Database/mysql/TransactionManager.php Rolls back a client transaction.
TransactionManager::rollbackClientTransaction function core/modules/pgsql/src/Driver/Database/pgsql/TransactionManager.php Rolls back a client transaction.
TransactionManager::rollbackClientTransaction function core/modules/sqlite/src/Driver/Database/sqlite/TransactionManager.php Rolls back a client transaction.
TransactionManagerBase class core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php The database transaction manager base class.
TransactionManagerBase.php file core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php
TransactionManagerBase::$connectionTransactionState property core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php The state of the underlying client connection transaction.
TransactionManagerBase::$postTransactionCallbacks property core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php A list of post-transaction callbacks.
TransactionManagerBase::$rootId property core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php The ID of the root Transaction object.
TransactionManagerBase::$stack property core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php The stack of Drupal transactions currently active.
TransactionManagerBase::$voidedItems property core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php A list of voided stack items.
TransactionManagerBase::addClientSavepoint function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Adds a savepoint on the client transaction.
TransactionManagerBase::addPostTransactionCallback function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Adds a root transaction end callback.
TransactionManagerBase::addStackItem function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Adds an item to the transaction stack.
TransactionManagerBase::beginClientTransaction function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Begins a transaction on the client connection.
TransactionManagerBase::commitAll function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Commits the entire transaction stack.
TransactionManagerBase::commitClientTransaction function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Commits a client transaction.
TransactionManagerBase::dumpStackItemsAsString function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Produces a string representation of the stack items.
TransactionManagerBase::getConnectionTransactionState function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Gets the state of the client connection transaction.
TransactionManagerBase::has function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Checks if a named Drupal transaction is active.

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