You are here

public function DatabaseConnection::supportsTransactions in Drupal 7

Determines if this driver supports transactions.

Return value

TRUE if this connection supports transactions, FALSE otherwise.

6 calls to DatabaseConnection::supportsTransactions()
DatabaseConnection::popTransaction in includes/database/database.inc
Decreases the depth of transaction nesting.
DatabaseConnection::pushTransaction in includes/database/database.inc
Increases the depth of transaction nesting.
DatabaseConnection::rollback in includes/database/database.inc
Rolls back the transaction entirely or to a named savepoint.
DatabaseConnection_sqlite::popTransaction in includes/database/sqlite/database.inc
Decreases the depth of transaction nesting.
DatabaseConnection_sqlite::pushTransaction in includes/database/sqlite/database.inc
Increases the depth of transaction nesting.

... See full list

File

includes/database/database.inc, line 1311
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

public function supportsTransactions() {
  return $this->transactionSupport;
}