andWhere() public method
Adds an additional WHERE condition to the existing one.
The new condition and the existing one will be joined using the 'AND' operator.
See also:
| public $this andWhere ( $condition, $params = [] ) | ||
|---|---|---|
| $condition | string|array|yii\db\Expression |
The new WHERE 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 |
Please login to continue.