Documentation

buildFilterSql

string public static
\Bitrix\Main\Entity\Query::buildFilterSql(
 \Bitrix\Main\Entity\Base $entity,
 array $filter
);

Static method sets conditions SQL filter for WHERE.

It is used for external calls: building SQL for all UPDATE or DELETE

Parameters

ParameterDescriptionVersion
$entityEntity
$filterThe same format as for setFilter

Example



© «Bitrix24», 2001-2022
Up