function PDOConnection::rollBack

Same name in other branches
  1. 10 core/modules/sqlite/src/Driver/Database/sqlite/PDOConnection.php \Drupal\sqlite\Driver\Database\sqlite\PDOConnection::rollBack()
  2. 11.x core/modules/sqlite/src/Driver/Database/sqlite/PDOConnection.php \Drupal\sqlite\Driver\Database\sqlite\PDOConnection::rollBack()

File

core/modules/sqlite/src/Driver/Database/sqlite/PDOConnection.php, line 49

Class

PDOConnection
SQLite-specific implementation of a PDO connection.

Namespace

Drupal\sqlite\Driver\Database\sqlite

Code

public function rollBack() : bool {
    return $this->exec('ROLLBACK') !== FALSE;
}

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