original_string: public function unionAll($query, $overwrite = false)
      {
          if ($overwrite) {
              $this->_parts['union'] = [];
          }
          $this->_parts['union'][] = [
              'all' => true,
              'query' => $query
          ];
          $this->_dirty();
  
          return $this;
      }
code: public function unionAll($query, $overwrite = false)
      {
          if ($overwrite) {
              $this->_parts['union'] = [];
          }
          $this->_parts['union'][] = [
              'all' => true,
              'query' => $query
          ];
          $this->_dirty();
  
          return $this;
      }
code_tokens: public function unionAll ( $ query , $ overwrite = false ) { if ( $ overwrite ) { $ this -> _parts [ 'union' ] = [ ] ; } $ this -> _parts [ 'union' ] [ ] = [ 'all' => true , 'query' => $ query ] ; $ this -> _dirty ( ) ; return $ this ; }
docstring: Adds a complete query to be used in conjunction with the UNION ALL operator with
  this query. This is used to combine the result set of this query with the one
  that will be returned by the passed query. You can add as many queries as you
  required by calling multiple times this method with different queries.
  
  Unlike UNION, UNION ALL will not remove duplicate rows.
  
  ```
  $union = (new Query($conn))->select(['id', 'title'])->from(['a' => 'articles']);
  $query->select(['id', 'name'])->from(['d' => 'things'])->unionAll($union);
  ```
  
  Will produce:
  
  `SELECT id, name FROM things d UNION ALL SELECT id, title FROM articles a`
  
  @param string|\Cake\Database\Query $query full SQL query to be used in UNION operator
  @param bool $overwrite whether to reset the list of queries to be operated or not
  @return $this
docstring_tokens: Adds a complete query to be used in conjunction with the UNION ALL operator with this query . This is used to combine the result set of this query with the one that will be returned by the passed query . You can add as many queries as you required by calling multiple times this method with different queries .