class Transaction

Same name in this branch
  1. 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Transaction.php \Drupal\driver_test\Driver\Database\DrivertestMysql\Transaction
  2. 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Transaction.php \Drupal\driver_test\Driver\Database\DrivertestPgsql\Transaction
  3. 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Transaction.php \Drupal\Core\Database\Driver\sqlite\Transaction
  4. 8.9.x core/lib/Drupal/Core/Database/Driver/mysql/Transaction.php \Drupal\Core\Database\Driver\mysql\Transaction
  5. 8.9.x core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction
Same name in other branches
  1. 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Transaction.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Transaction
  2. 9 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction
  3. 10 core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Transaction.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Transaction
  4. 10 core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction
  5. 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Transaction.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Transaction
  6. 11.x core/lib/Drupal/Core/Database/Transaction.php \Drupal\Core\Database\Transaction

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

Hierarchy

  • class \Drupal\Core\Database\Transaction
    • class \Drupal\Core\Database\Driver\pgsql\Transaction extends \Drupal\Core\Database\Transaction

Expanded class hierarchy of Transaction

1 file declares its use of Transaction
Transaction.php in core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Transaction.php
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/pgsql/Transaction.php, line 10

Namespace

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

}

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