mongodb\QueryBuilder buildOrCondition()

buildOrCondition() public method

Connects two or more conditions with the OR operator.

public array buildOrCondition ( $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.

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

Please login to continue.