Documentation

prepareUpdate

array public
\Bitrix\Main\DB\SqlHelper::prepareUpdate(
 string $tableName,
 array $fields
);

This non-static method builds the strings for the SQL UPDATE command for the specified table.

Parameters

ParameterDescriptionVersion
$tableNameTable name
$fieldsArray type:
Array("column" => $value)[]

Examples



© «Bitrix24», 2001-2024