buildNotCondition() public method
Composes NOT condition.
| public array buildNotCondition ( $operator, $operands ) | ||
|---|---|---|
| $operator | string |
The operator to use for connecting the given operands |
| $operands | array |
The Mongo conditions to connect. |
| return | array |
The generated Mongo condition. |
| throws | yii\base\InvalidParamException |
if wrong number of operands have been given. |
Please login to continue.