public function select($selects = array())
    {
        $this->type = self::SELECT;

        if (!empty($selects)) {
            $this->parts['select'] = array_merge($this->parts['select'], (array) $selects);
        }

        return $this;
    }
public function select($selects = array())
    {
        $this->type = self::SELECT;

        if (!empty($selects)) {
            $this->parts['select'] = array_merge($this->parts['select'], (array) $selects);
        }

        return $this;
    }
public function select ( $ selects = array ( ) ) { $ this -> type = self :: SELECT ; if ( ! empty ( $ selects ) ) { $ this -> parts [ 'select' ] = array_merge ( $ this -> parts [ 'select' ] , ( array ) $ selects ) ; } return $ this ; }
Sets the select query mode.

@param string|array $selects The fields to select.

@return \Fridge\DBAL\Query\QueryBuilder The query builder.
Sets the select query mode .