db\ActiveQuery andOnCondition()

andOnCondition() public method

Adds an additional ON condition to the existing one.

The new condition and the existing one will be joined using the 'AND' operator.

See also:

public $this andOnCondition ( $condition, $params = [] )
$condition string|array

The new ON condition. Please refer to where() on how to specify this parameter.

$params array

The parameters (name => value) to be bound to the query.

return $this

The query object itself

doc_Yii
2016-10-30 16:56:09
Comments
Leave a Comment

Please login to continue.