public function Schema::drupalSpecificFunctions in Drupal driver for SQL Server and SQL Azure 3.0.x
Same name and namespace in other branches
- 8.2 drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php \Drupal\Driver\Database\sqlsrv\Schema::DrupalSpecificFunctions()
- 8 drivers/lib/Drupal/Driver/Database/sqlsrv/Schema.php \Drupal\Driver\Database\sqlsrv\Schema::DrupalSpecificFunctions()
Drupal specific functions.
Returns a list of functions that are not available by default on SQL Server, but used in Drupal Core or contributed modules because they are available in other databases such as MySQL.
Return value
array List of functions.
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Schema.php, line 810
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
public function drupalSpecificFunctions() {
$functions = [
'SUBSTRING',
'SUBSTRING_INDEX',
'GREATEST',
'MD5',
'LPAD',
'REGEXP',
'IF',
'CONNECTION_ID',
];
return $functions;
}