| TransactionManagerInterface.php |
file |
core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php |
|
| TransactionManagerInterface::addPostTransactionCallback |
function |
core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php |
Adds a root transaction end callback. |
| TransactionManagerInterface::has |
function |
core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php |
Checks if a named Drupal transaction is active. |
| TransactionManagerInterface::inTransaction |
function |
core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php |
Determines if there is an active transaction open. |
| TransactionManagerInterface::purge |
function |
core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php |
Purges a Drupal transaction from the manager. |
| TransactionManagerInterface::push |
function |
core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php |
Pushes a new Drupal transaction on the stack. |
| TransactionManagerInterface::rollback |
function |
core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php |
Rolls back a Drupal transaction. |
| TransactionManagerInterface::unpile |
function |
core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php |
Removes a Drupal transaction from the stack. |
| TransactionManagerInterface::voidClientTransaction |
function |
core/lib/Drupal/Core/Database/Transaction/TransactionManagerInterface.php |
Voids the client connection. |
| 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/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/pgsql/tests/src/Kernel/pgsql/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::$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. |