Sets the HAVING part of the query.
public having ( string | array | yii\db\Expression $condition, array $params = [] ) | ||
$condition | string | array | yii\db\Expression | the conditions to be put after HAVING. Please refer to [[where()]] on how to specify this parameter. |
$params | array | the parameters (name => value) to be bound to the query. |