You are here

class Transaction in Zircon Profile 8

Same name in this branch
  1. 8 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction
  2. 8 core/lib/Drupal/Core/Database/Driver/sqlite/Transaction.php \Drupal\Core\Database\Driver\sqlite\Transaction
  3. 8 core/lib/Drupal/Core/Database/Driver/pgsql/Transaction.php \Drupal\Core\Database\Driver\pgsql\Transaction
  4. 8 core/lib/Drupal/Core/Database/Driver/mysql/Transaction.php \Drupal\Core\Database\Driver\mysql\Transaction
Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Driver/sqlite/Transaction.php \Drupal\Core\Database\Driver\sqlite\Transaction

SQLite implementation of \Drupal\Core\Database\Transaction.

Hierarchy

Expanded class hierarchy of Transaction

1 string reference to 'Transaction'
Connection::startTransaction in core/lib/Drupal/Core/Database/Connection.php
Returns a new DatabaseTransaction object on this connection.

File

core/lib/Drupal/Core/Database/Driver/sqlite/Transaction.php, line 15
Contains \Drupal\Core\Database\Driver\sqlite\Transaction.

Namespace

Drupal\Core\Database\Driver\sqlite
View source
class Transaction extends DatabaseTransaction {

}

Members

Namesort descending Modifiers Type Description Overrides
Transaction::$connection protected property The connection object for this transaction.
Transaction::$name protected property The name of the transaction.
Transaction::$rolledBack protected property A boolean value to indicate whether this transaction has been rolled back.
Transaction::name public function Retrieves the name of the transaction or savepoint.
Transaction::rollback public function Rolls back the current transaction.
Transaction::__construct public function
Transaction::__destruct public function