db\Query having()

having() public method

Sets the HAVING part of the query.

See also:

public $this having ( $condition, $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.

return $this

The query object itself

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

Please login to continue.