D7 API documentation
What's New
Modules
Main module in old core
addSecondsToDateTime
castToChar
convertFromDb
convertToDb
forSql
formatDate
getAliasLength
getAscendingOrder
getCharToDateFunction
getColumnTypeByField
getConcatFunction
getConverter
getCurrentDateFunction
getCurrentDateTimeFunction
getDateToCharFunction
getDatetimeToDateFunction
getDescendingOrder
getFieldByColumnType
getIsNullFunction
getLeftQuote
getLengthFunction
getQueryDelimiter
getRightQuote
getSubstrFunction
getTopSql
prepareAssignment
prepareInsert
prepareMerge
prepareUpdate
quote
softCastTextToChar
prepareAssignment
string public \Bitrix\Main\DB\SqlHelper::prepareAssignment( string $tableName, string $columnName, string $value );
This non-static method builds the string for the SQL assignment operation of the specified column.
Parameters
Parameter | Description | Version |
---|---|---|
$tableName | Table name. | |
$columnName | Column name. | |
$value | Assigned value. |
Examples
© «Bitrix24», 2001-2024
Up