code: public function applyMapping($params, $mapping)
      {
          $newParams = [];
  
          foreach ($params as $key => $value) {
              $newParams[$mapping[$key]] = $value;
          }
  
          return $newParams;
      }
docs: Applies associative mapping to numbered columns.
  
  @param array      $params
  @param array|bool $mapping
  
  @return array