if ($this->connID !== false
) { // Determine how identifiers are escaped
$query =
$this->
query('SELECT CASE WHEN (@@OPTIONS | 256) = @@OPTIONS THEN 1 ELSE 0 END AS qi'
);
$query =
$query->
getResultObject();
$this->_quoted_identifier =
empty($query) ? false :
(bool) $query[0
]->qi;
$this->escapeChar =
($this->_quoted_identifier
) ? '"' :
['[', ']'
];
return $this->connID;
} throw new DatabaseException($this->
getAllErrorMessages());
} /**
* For exception message
*
* @internal
*/
public function getAllErrorMessages(): string
{ $errors =
[];