public function distinct($column)
    {
        if (!is_null($this->select)) {
            $this->select .= " distinct `$column`";
        } else {
            $this->select = "distinct `$column`";
        }

        return $this;
    }
public function distinct($column)
    {
        if (!is_null($this->select)) {
            $this->select .= " distinct `$column`";
        } else {
            $this->select = "distinct `$column`";
        }

        return $this;
    }
public function distinct ( $ column ) { if ( ! is_null ( $ this -> select ) ) { $ this -> select .= " distinct `$column`" ; } else { $ this -> select = "distinct `$column`" ; } return $ this ; }
Allows a query with the DISTINCT clause

@param  string $column

@return QueryBuilder
Allows a query with the DISTINCT clause