public function having($columns)
    {
        settype($columns, 'array'); //force to an array

        $this->having = array_unique(array_merge($this->having, $columns));
        return $this;
    }
public function having($columns)
    {
        settype($columns, 'array'); //force to an array

        $this->having = array_unique(array_merge($this->having, $columns));
        return $this;
    }
public function having ( $ columns ) { settype ( $ columns , 'array' ) ; //force to an array $ this -> having = array_unique ( array_merge ( $ this -> having , $ columns ) ) ; return $ this ; }
Built the having clause of the query

@param   array|string    A string or array of ordering columns
@return  AnDatabaseQuery
Built the having clause of the query