public function having($column, $comp = '=', $value = null, $boolean = 'and')
    {
        if (!$this->isComporaisonOperator($comp)) {
            $value = $comp;
            $comp = '=';
        }

        if (is_null($this->havin)) {
            $this->havin = '`'.$column.'` '.$comp.' '.$value;
        } else {
            $this->havin .= ' '.$boolean.' `'.$column.'` '.$comp.' '.$value;
        }

        return $this;
    }
public function having($column, $comp = '=', $value = null, $boolean = 'and')
    {
        if (!$this->isComporaisonOperator($comp)) {
            $value = $comp;
            $comp = '=';
        }

        if (is_null($this->havin)) {
            $this->havin = '`'.$column.'` '.$comp.' '.$value;
        } else {
            $this->havin .= ' '.$boolean.' `'.$column.'` '.$comp.' '.$value;
        }

        return $this;
    }
public function having ( $ column , $ comp = '=' , $ value = null , $ boolean = 'and' ) { if ( ! $ this -> isComporaisonOperator ( $ comp ) ) { $ value = $ comp ; $ comp = '=' ; } if ( is_null ( $ this -> havin ) ) { $ this -> havin = '`' . $ column . '` ' . $ comp . ' ' . $ value ; } else { $ this -> havin .= ' ' . $ boolean . ' `' . $ column . '` ' . $ comp . ' ' . $ value ; } return $ this ; }
clause having, is used with a groupBy

@param string $column
@param string $comp
@param mixed  $value
@param string $boolean

@return QueryBuilder
clause having is used with a groupBy