public function select(array $select = ['*'])
    {
        if (count($select) == 0) {
            return $this;
        }

        if (count($select) == 1 && $select[0] == '*') {
            $this->select = '*';
        } else {
            $this->select = '`' . implode('`, `', $select) . '`';
        }

        return $this;
    }
public function select(array $select = ['*'])
    {
        if (count($select) == 0) {
            return $this;
        }

        if (count($select) == 1 && $select[0] == '*') {
            $this->select = '*';
        } else {
            $this->select = '`' . implode('`, `', $select) . '`';
        }

        return $this;
    }
public function select ( array $ select = [ '*' ] ) { if ( count ( $ select ) == 0 ) { return $ this ; } if ( count ( $ select ) == 1 && $ select [ 0 ] == '*' ) { $ this -> select = '*' ; } else { $ this -> select = '`' . implode ( '`, `' , $ select ) . '`' ; } return $ this ; }
Add select column.

SELECT $column | SELECT column1, column2, ...

@param array $select

@return QueryBuilder
Add select column .