buildSimpleCondition() public method
Creates an Mongo condition like {$operator:{field:value}}.
public string buildSimpleCondition ( $operator, $operands )$operator string
The operator to use. Besides regular MongoDB operators, aliases like >, <=, and so on, can be used here. $operands array
The first operand is the column name. The second operand is a single value that column value should be compared with. return string
The generated Mongo condition. throws yii\base\InvalidPa