function Connection::supportsTransactionalDDL
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::supportsTransactionalDDL()
- 10 core/lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::supportsTransactionalDDL()
- 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 1884
Class
- Connection
- Base Database API class.
Namespace
Drupal\Core\DatabaseCode
public function supportsTransactionalDDL() {
return $this->transactionalDDLSupport;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.