Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Connection.php

Connection::$savepoints

An array of transaction savepoints.

The main use for this array is to store information about transaction savepoints opened to to mimic MySql's InnoDB functionality, which provides an inherent savepoint before any query in a transaction.

Type: array

See also

::addSavepoint()

::releaseSavepoint()

::rollbackSavepoint()

File

core/modules/pgsql/src/Driver/Database/pgsql/Connection.php, line 89

Class

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

Namespace

Drupal\pgsql\Driver\Database\pgsql

Code

protected array $savepoints = [];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal