Documentation

where

\Bitrix\Main\Entity\Query\Filter\ConditionTree public
\Bitrix\Main\Entity\Query\Filter\ConditionTree::where(
 array $filter
);

This non-static method sets general conditions. Generally, 3 parameters are used: where(columnName, operator, value), for example: ('ID', '=', 1); ('SALARY', '>', '500')

List of possible operators can be received from operator class.

Parameters

ParameterDescriptionVersion
$filterfitler

Exceptions

See Also

  • \Bitrix\Main\Entity\Query\Filter\Operator::$operators

Example



© «Bitrix24», 2001-2024
Up