Search for inTransaction

  1. Search 7.x for inTransaction
  2. Search 9.5.x for inTransaction
  3. Search 8.9.x for inTransaction
  4. Search 10.3.x for inTransaction
  5. Other projects
Title Object type File name Summary
Connection::inTransaction function core/lib/Drupal/Core/Database/Connection.php Determines if there is an active transaction open.
DeleteTruncateTest::testTruncateInTransaction function core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php Confirms that we can truncate a whole table while in transaction.
DriverSpecificTransactionTestBase::testQueryFailureInTransaction function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests that transactions can continue to be used if a query fails.
PDOConnection::beginTransaction function core/modules/sqlite/src/Driver/Database/sqlite/PDOConnection.php
TransactionManagerBase::inTransaction function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php
TransactionManagerInterface::inTransaction function core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php Determines if there is an active transaction open.

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