Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 8.9.x for %s
  4. Search 10.3.x for %s
  5. Search 11.x for %s
  6. Other projects
Title Object type File name Summary
TransactionNameNonUniqueException class core/lib/Drupal/Core/Database/TransactionNameNonUniqueException.php Exception thrown when a savepoint or transaction name occurs twice.
TransactionNameNonUniqueException.php file core/lib/Drupal/Core/Database/TransactionNameNonUniqueException.php
TransactionNoActiveException class core/lib/Drupal/Core/Database/TransactionNoActiveException.php Exception for when popTransaction() is called with no active transaction.
TransactionNoActiveException.php file core/lib/Drupal/Core/Database/TransactionNoActiveException.php
TransactionOutOfOrderException class core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php Exception thrown transactions are out of order.
TransactionOutOfOrderException.php file core/lib/Drupal/Core/Database/TransactionOutOfOrderException.php
TransactionTest class core/modules/pgsql/tests/src/Kernel/pgsql/TransactionTest.php Tests transaction for the PostgreSQL driver.
TransactionTest class core/modules/mysqli/tests/src/Kernel/mysqli/TransactionTest.php Tests transaction for the MySQLi driver.
TransactionTest class core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests the transactions, using the explicit ::commitOrRelease method.
TransactionTest class core/modules/mysql/tests/src/Kernel/mysql/TransactionTest.php Tests transaction for the MySQL driver.
TransactionTest class core/modules/sqlite/tests/src/Kernel/sqlite/TransactionTest.php Tests transaction for the SQLite driver.
TransactionTest.php file core/modules/sqlite/tests/src/Kernel/sqlite/TransactionTest.php
TransactionTest.php file core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
TransactionTest.php file core/modules/mysqli/tests/src/Kernel/mysqli/TransactionTest.php
TransactionTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/TransactionTest.php
TransactionTest.php file core/modules/mysql/tests/src/Kernel/mysql/TransactionTest.php
TransactionTest::$postTransactionCallbackAction property core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Keeps track of the post-transaction callback action executed.
TransactionTest::assertRowAbsent function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Asserts that a given row is absent from the test table.
TransactionTest::assertRowPresent function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Asserts that a given row is present in the test table.
TransactionTest::cleanUp function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Starts over for a new test.
TransactionTest::createFirstSavepointTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Create a Drupal savepoint transaction after root.
TransactionTest::createRootTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Create a root Drupal transaction.
TransactionTest::executeDDLStatement function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Executes a DDL statement.
TransactionTest::insertRow function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Inserts a single row into the testing table.
TransactionTest::rootTransactionCallback function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php A post-transaction callback for testing purposes.
TransactionTest::setUp function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
TransactionTest::testArbitraryTransactionNames function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests for arbitrary transaction names.
TransactionTest::testCommitAfterDdl function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests commit does not fail when committing after DDL.
TransactionTest::testCommitAfterRollbackSameSavepoint function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests savepoint transaction commit after rollback.
TransactionTest::testCommittedTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests a committed transaction.
TransactionTest::testCommitTransactionWhenInactive function core/modules/mysqli/tests/src/Kernel/mysqli/TransactionTest.php Tests committing a transaction when there's none active on the client.
TransactionTest::testCommitWithActiveSavepoint function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests committing a transaction while savepoints are active.
TransactionTest::testDeprecationOfCommitAll function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests deprecation of ::commitAll().
TransactionTest::testDeprecationOfImplicitCommit function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests deprecation of implicit commit.
TransactionTest::testMockTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests that mocking transactions works fine.
TransactionTest::testPostTransactionsAlwaysExecutedBeforeConnectionIsDestroyed function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes on "garbage collection".
TransactionTest::testQueryFailureInTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests that transactions can continue to be used if a query fails.
TransactionTest::testReleaseIntermediateSavepoint function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests releasing a savepoint before last is safe.
TransactionTest::testRollbackAfterCommitSameSavepoint function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests savepoint transaction rollback after commit.
TransactionTest::testRollbackAfterDdlStatementForNonTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests rollback after a DDL statement when no transactional DDL supported.
TransactionTest::testRollbackRoot function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests root transaction rollback.
TransactionTest::testRollbackRootAfterSavepointRollback function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests root transaction rollback after savepoint rollback.
TransactionTest::testRollbackRootWithActiveSavepoint function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests root transaction rollback failure when savepoint is open.
TransactionTest::testRollbackSavepoint function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests savepoint transaction rollback.
TransactionTest::testRollbackSavepointWithLaterSavepoint function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests savepoint transaction rollback failure when later savepoints exist.
TransactionTest::testRollbackTwiceSameSavepoint function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests savepoint transaction duplicated rollback.
TransactionTest::testRootTransactionEndCallbackAddedWithoutTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests that adding a post-transaction callback fails with no transaction.
TransactionTest::testRootTransactionEndCallbackCalledAfterDdlAndDestruction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after a DDL statement.
TransactionTest::testRootTransactionEndCallbackCalledAfterDdlAndRollbackForTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction rollback executes after a DDL statement.
TransactionTest::testRootTransactionEndCallbackCalledAfterRollbackAndDestruction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after transaction rollback.

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