Документация по D7
История изменений
Модули
Главный модуль в старом ядре
addSecondsToDateTime
castToChar
convertDatetimeField
convertStringField
convertTextField
convertToDb
forSql
formatDate
getAliasLength
getAscendingOrder
getCharToDateFunction
getColumnTypeByField
getConcatFunction
getConverter
getCurrentDateFunction
getCurrentDateTimeFunction
getDateToCharFunction
getDatetimeToDateFunction
getDescendingOrder
getFieldByColumnType
getIsNullFunction
getLeftQuote
getLengthFunction
getQueryDelimiter
getRightQuote
getTopSql
prepareMerge
quote
softCastTextToChar
convertToDb
string public \Bitrix\Main\DB\OracleSqlHelper::convertToDb( mixed $value, \Bitrix\Main\Entity\ScalarField $field );
Нестатический метод конвертирует значение в строку, соответствующую типу колонки используемой в SQL запросе.
Параметры
Параметр | Описание | Версия |
---|---|---|
$value | Значение для конвертации | |
$field | Тип "источника". |
Исключения
Примеры
© «Битрикс», 2001-2025, «1С-Битрикс», 2025
Наверх