JDatabaseDriverSqlsrv::escape
Method to escape a string for usage in an SQL statement.
The escaping for MSSQL isn't handled in the driver though that would be nice. Because of this we need to handle the escaping ourselves.
Signature
public function escape(string
$text,
[boolean
$extra = false] )
Parameters
-
$text
- The string to be escaped.
-
$extra
- Optional parameter to provide extra escaping.
Returns
- string
- The escaped string.