Connection::$savepoints

Same name in other branches
  1. 11.x core/modules/pgsql/src/Driver/Database/pgsql/Connection.php \Drupal\pgsql\Driver\Database\pgsql\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 88

Class

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

Namespace

Drupal\pgsql\Driver\Database\pgsql

Code

protected array $savepoints = [];

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