public function copyTo(Select $query)
    {
        $query->fields = $this->fields;
        $query->distinct = $this->distinct;
        $query->orders = $this->orders;
        $query->groups = $this->groups;
        $query->joins = $this->joins;
        $query->groupResults = $this->groupResults;
        $query->forwardKey = $this->forwardKey;
    }
public function copyTo(Select $query)
    {
        $query->fields = $this->fields;
        $query->distinct = $this->distinct;
        $query->orders = $this->orders;
        $query->groups = $this->groups;
        $query->joins = $this->joins;
        $query->groupResults = $this->groupResults;
        $query->forwardKey = $this->forwardKey;
    }
public function copyTo ( Select $ query ) { $ query -> fields = $ this -> fields ; $ query -> distinct = $ this -> distinct ; $ query -> orders = $ this -> orders ; $ query -> groups = $ this -> groups ; $ query -> joins = $ this -> joins ; $ query -> groupResults = $ this -> groupResults ; $ query -> forwardKey = $ this -> forwardKey ; }
Copy current queries select attributes to the given one

@param Select            $query
Copy current queries select attributes to the given one