protected function SelectQuery_sqlsrv::replaceReservedAliases in Drupal driver for SQL Server and SQL Azure 7.3
Same name and namespace in other branches
- 7.2 sqlsrv/select.inc \SelectQuery_sqlsrv::replaceReservedAliases()
File
- sqlsrv/
select.inc, line 243
Class
Code
protected function replaceReservedAliases($matches) {
if ($matches[1] !== '') {
// Replace reserved words.
return $this->cross_apply_aliases[$matches[1]];
}
// Let other value passthru.
// by the logic of the regex above, this will always be the last match.
return end($matches);
}