function SqliteConnection::beginTransaction

File

core/modules/sqlite/src/Driver/Database/sqlite/SqliteConnection.php, line 37

Class

SqliteConnection
SQLite-specific implementation of a PDO connection.

Namespace

Drupal\sqlite\Driver\Database\sqlite

Code

public function beginTransaction() : bool {
  return $this->exec('BEGIN IMMEDIATE TRANSACTION') !== FALSE;
}

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