Документация по 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
prepareMerge
array public \Bitrix\Main\DB\OracleSqlHelper::prepareMerge( string $tableName, array $primaryFields, array $insertFields, array $updateFields );
Нестатический метод выстраивает строки для команды SQL MERGE для данной таблицы.
Параметры
Параметр | Описание | Версия |
---|---|---|
$tableName | Имя таблицы. | |
$primaryFields | Массив первичных ключей списка колонок. Array("column")[] | |
$insertFields | Моссив добавляемых данных Array("column" => $value)[] | |
$updateFields | Массив обновляеых данных. Array("column" => $value)[] |
Примеры
© «Битрикс», 2001-2025, «1С-Битрикс», 2025
Наверх