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 10.3.x for trans
  5. Other projects
Title Object type File name Summary
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/sqlite/tests/src/Kernel/sqlite/TransactionTest.php Tests transaction for the SQLite driver.
TransactionTest class core/modules/mysql/tests/src/Kernel/mysql/TransactionTest.php Tests transaction for the MySQL driver.
TransactionTest.php file core/modules/sqlite/tests/src/Kernel/sqlite/TransactionTest.php
TransactionTest.php file core/modules/mysql/tests/src/Kernel/mysql/TransactionTest.php
TransactionTest.php file core/modules/mysqli/tests/src/Kernel/mysqli/TransactionTest.php
TransactionTest.php file core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
TransactionTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/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::testMockTransaction function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests that mocking transactions works fine.
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.
TransactionTest::testRootTransactionEndCallbackCalledOnCommit function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction callback executes after transaction commit.
TransactionTest::testRootTransactionEndCallbackFailureUponDdlAndRollbackForNonTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests post-transaction rollback failure after a DDL statement.
TransactionTest::testStartTransactionWhenActive function core/modules/mysqli/tests/src/Kernel/mysqli/TransactionTest.php Tests starting a transaction when there's one active on the client.
TransactionTest::testTransactionManagerFailureOnPendingStackItems function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests TransactionManager failure.
TransactionTest::testTransactionName function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests for transaction names.
TransactionTest::testTransactionStacking function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests transaction stacking, commit, and rollback.
TransactionTest::testTransactionWithDdlStatement function core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests the compatibility of transactions with DDL statements.

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