Documentation

convertToDb

string public
\Bitrix\Main\DB\OracleSqlHelper::convertToDb(
 mixed $value,
 \Bitrix\Main\Entity\ScalarField $field
);

This non-static method converts values to the string according to the column type to use it in a SQL query.

Parameters

ParameterDescriptionVersion
$valueValue to be converted
$field"Source" type.

Exceptions

Examples



© «Bitrix24», 2001-2024
Up