mongodb\QueryBuilder buildCondition()

buildCondition() public method

Parses the condition specification and generates the corresponding Mongo condition.

public array buildCondition ( $condition )
$condition array

The condition specification. Please refer to yii\mongodb\Query::where() on how to specify a condition.

return array

The generated Mongo condition

throws yii\base\InvalidParamException

if the condition is in bad format

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

Please login to continue.