mongodb\QueryBuilder buildNotCondition()

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.

doc_Yii
2016-10-30 17:09:04
Comments
Leave a Comment

Please login to continue.