src/Query.php
public function having($field, $cond = null, $value = null)
    {
        $num_args = func_num_args();

        return $this->where($field, $cond, $value, 'having', $num_args);
    }
public function having($field, $cond = null, $value = null)
    {
        $num_args = func_num_args();

        return $this->where($field, $cond, $value, 'having', $num_args);
    }
Same syntax as where().

@param mixed  $field Field, array for OR or Expression
@param string $cond  Condition such as '=', '>' or 'is not'
@param string $value Value. Will be quoted unless you pass expression

@return $this