Documentation

forSql

string public
\Bitrix\Main\DB\OracleSqlHelper::forSql(
 string $value,
 integer $maxLength
);

This non-static method escapes special characters in a string for use in an SQL statement.

Parameters

ParameterDescriptionVersion
$valueValue to be escaped
$maxLengthLimits string length if set.

Examples



© «Bitrix24», 2001-2024
Up