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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.