string public
\Bitrix\Main\DB\MysqlSqlHelper::forSql(
string $value,
integer $maxLength
);
This non-static method escapes special characters in a string for use in a SQL statement.
Parameters
Parameter | Description | Version |
$value | Value to be escaped | |
$maxLength | Limits string length if set. | |
Examples