db\QueryTrait filterCondition()

filterCondition() protected method

Removes empty operands from the given query condition.

protected array filterCondition ( $condition )
$condition array

The original condition

return array

The condition with empty operands removed.

throws yii\base\NotSupportedException

if the condition operator is not supported

doc_Yii
2016-10-30 16:59:30
Comments
Leave a Comment

Please login to continue.