Documentation

update

\Bitrix\Main\Entity\UpdateResult public static
\Bitrix\Main\Entity\DataManager::update(
 mixed $primary,
 array $data
);

This static method updates row in object table by primary key.

Parameters

ParameterDescriptionVersion
$primaryPrimary key.
$dataUpdated data.

Exceptions

  • \Exception

Example



© «Bitrix24», 2001-2022
Up