Search for all

  1. Search 9.5.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
DatabaseTransaction class includes/database/database.inc A wrapper class for creating and managing database transactions.
DatabaseTransaction::$connection property includes/database/database.inc The connection object for this transaction.
DatabaseTransaction::$name property includes/database/database.inc The name of the transaction.
DatabaseTransaction::$rolledBack property includes/database/database.inc A boolean value to indicate whether this transaction has been rolled back.
DatabaseTransaction::name function includes/database/database.inc Retrieves the name of the transaction or savepoint.
DatabaseTransaction::rollback function includes/database/database.inc Rolls back the current transaction.
DatabaseTransaction::__construct function includes/database/database.inc
DatabaseTransaction::__destruct function includes/database/database.inc
DatabaseTransactionCommitFailedException class includes/database/database.inc Exception thrown when a commit() function fails.
DatabaseTransactionExplicitCommitNotAllowedException class includes/database/database.inc Exception to deny attempts to explicitly manage transactions.
DatabaseTransactionNameNonUniqueException class includes/database/database.inc Exception thrown when a savepoint or transaction name occurs twice.
DatabaseTransactionNoActiveException class includes/database/database.inc Exception for when popTransaction() is called with no active transaction.
DatabaseTransactionOutOfOrderException class includes/database/database.inc Exception thrown when a rollback() resulted in other active transactions being rolled-back.
DatabaseTransactionTestCase class modules/simpletest/tests/database_test.test Test transaction support, particularly nesting.
DatabaseTransactionTestCase::assertRowAbsent function modules/simpletest/tests/database_test.test Assert that a given row is absent from the test table.
DatabaseTransactionTestCase::assertRowPresent function modules/simpletest/tests/database_test.test Assert that a given row is present in the test table.
DatabaseTransactionTestCase::cleanUp function modules/simpletest/tests/database_test.test Start over for a new test.
DatabaseTransactionTestCase::executeDDLStatement function modules/simpletest/tests/database_test.test Execute a DDL statement.
DatabaseTransactionTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseTransactionTestCase::insertRow function modules/simpletest/tests/database_test.test Insert a single row into the testing table.
DatabaseTransactionTestCase::rollBackWithoutTransactionErrorHandler function modules/simpletest/tests/database_test.test Special handling of "rollback without transaction" errors.
DatabaseTransactionTestCase::testCommittedTransaction function modules/simpletest/tests/database_test.test Test committed transaction.
DatabaseTransactionTestCase::testTransactionRollBackNotSupported function modules/simpletest/tests/database_test.test Test transaction rollback on a database that does not support transactions.
DatabaseTransactionTestCase::testTransactionRollBackSupported function modules/simpletest/tests/database_test.test Test transaction rollback on a database that supports transactions.
DatabaseTransactionTestCase::testTransactionStacking function modules/simpletest/tests/database_test.test Test transaction stacking and commit / rollback.
DatabaseTransactionTestCase::testTransactionWithDdlStatement function modules/simpletest/tests/database_test.test Test the compatibility of transactions with DDL statements.
DatabaseTransactionTestCase::transactionInnerLayer function modules/simpletest/tests/database_test.test Helper method for transaction unit tests. This "inner layer" transaction
is either used alone or nested inside of the "outer layer" transaction.
DatabaseTransactionTestCase::transactionOuterLayer function modules/simpletest/tests/database_test.test Helper method for transaction unit test.
DatabaseUpdateComplexTestCase class modules/simpletest/tests/database_test.test Tests for more complex update statements.
DatabaseUpdateComplexTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseUpdateComplexTestCase::testBetweenConditionUpdate function modules/simpletest/tests/database_test.test Test BETWEEN conditional clauses.
DatabaseUpdateComplexTestCase::testInConditionUpdate function modules/simpletest/tests/database_test.test Test WHERE IN clauses.
DatabaseUpdateComplexTestCase::testLikeConditionUpdate function modules/simpletest/tests/database_test.test Test LIKE conditionals.
DatabaseUpdateComplexTestCase::testNotInConditionUpdate function modules/simpletest/tests/database_test.test Test WHERE NOT IN clauses.
DatabaseUpdateComplexTestCase::testOrConditionUpdate function modules/simpletest/tests/database_test.test Test updates with OR conditionals.
DatabaseUpdateComplexTestCase::testUpdateExpression function modules/simpletest/tests/database_test.test Test update with expression values.
DatabaseUpdateComplexTestCase::testUpdateOnlyExpression function modules/simpletest/tests/database_test.test Test update with only expression values.
DatabaseUpdateLOBTestCase class modules/simpletest/tests/database_test.test Test update queries involving LOB values.
DatabaseUpdateLOBTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseUpdateLOBTestCase::testUpdateMultipleBlob function modules/simpletest/tests/database_test.test Confirm that we can update two blob columns in the same table.
DatabaseUpdateLOBTestCase::testUpdateOneBlob function modules/simpletest/tests/database_test.test Confirm that we can update a blob column.
DatabaseUpdateTestCase class modules/simpletest/tests/database_test.test Update builder tests.
DatabaseUpdateTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseUpdateTestCase::testExpressionUpdate function modules/simpletest/tests/database_test.test Test updating with expressions.
DatabaseUpdateTestCase::testMultiGTUpdate function modules/simpletest/tests/database_test.test Confirm that we can update a multiple records with a non-equality condition.
DatabaseUpdateTestCase::testMultiUpdate function modules/simpletest/tests/database_test.test Confirm that we can update a multiple records successfully.
DatabaseUpdateTestCase::testSimpleNullUpdate function modules/simpletest/tests/database_test.test Confirm updating to NULL.
DatabaseUpdateTestCase::testSimpleUpdate function modules/simpletest/tests/database_test.test Confirm that we can update a single record successfully.
DatabaseUpdateTestCase::testWhereAndConditionUpdate function modules/simpletest/tests/database_test.test Confirm that we can stack condition and where calls.
DatabaseUpdateTestCase::testWhereUpdate function modules/simpletest/tests/database_test.test Confirm that we can update a multiple records with a where call.

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