function Connection::supportsTransactionalDDL

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::supportsTransactionalDDL()
  2. 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::supportsTransactionalDDL()
  3. 11.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::supportsTransactionalDDL()

Determines if this driver supports transactional DDL.

DDL queries are those that change the schema, such as ALTER queries.

Return value

bool TRUE if this connection supports transactions for DDL queries, FALSE otherwise.

File

core/lib/Drupal/Core/Database/Connection.php, line 1791

Class

Connection
Base Database API class.

Namespace

Drupal\Core\Database

Code

public function supportsTransactionalDDL() {
    return $this->transactionalDDLSupport;
}

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