You are here

public function ConnectionSettings::GetDefaultTransactionIsolationLevelInStatement in Drupal driver for SQL Server and SQL Azure 8.2

PDO Constant names do not match 1-to-1 the transaction names that need to be used in SQL.

Return value

mixed

File

drivers/lib/Drupal/Driver/Database/sqlsrv/ConnectionSettings.php, line 110

Class

ConnectionSettings
Global settings for the driver.

Namespace

Drupal\Driver\Database\sqlsrv

Code

public function GetDefaultTransactionIsolationLevelInStatement() {
  return str_replace('_', ' ', $this
    ->GetDefaultIsolationLevel());
}