public function DatabaseConnection::supportsTransactions

Determines if this driver supports transactions.

Return value

TRUE if this connection supports transactions, FALSE otherwise.

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

... See full list

File

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

Class

DatabaseConnection
Base Database API class.

Code

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