original_string: private function createMapping()
      {
          $columns = $this->pdoStatement->columnCount();
          if ($columns > 0) {
              $this->mapping = [];
              for ($i = 0; $i < $columns; $i++) {
                  $meta = $this->pdoStatement->getColumnMeta($i);
                  $this->mapping[$i] = [$meta['table'], $meta['name']];
              }
          }
      }
code: private function createMapping()
      {
          $columns = $this->pdoStatement->columnCount();
          if ($columns > 0) {
              $this->mapping = [];
              for ($i = 0; $i < $columns; $i++) {
                  $meta = $this->pdoStatement->getColumnMeta($i);
                  $this->mapping[$i] = [$meta['table'], $meta['name']];
              }
          }
      }
code_tokens: private function createMapping ( ) { $ columns = $ this -> pdoStatement -> columnCount ( ) ; if ( $ columns > 0 ) { $ this -> mapping = [ ] ; for ( $ i = 0 ; $ i < $ columns ; $ i ++ ) { $ meta = $ this -> pdoStatement -> getColumnMeta ( $ i ) ; $ this -> mapping [ $ i ] = [ $ meta [ 'table' ] , $ meta [ 'name' ] ] ; } } }
docstring: Create the mapping to use for mapping the column names to a result array.
docstring_tokens: Create the mapping to use for mapping the column names to a result array .