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 |
Please login to continue.