code: private function executeQueryWithParameters() {
          if (count($this->parameters) != 0) {
              $newQuery = '';
              $totalParams = substr_count($this->query, '?');
              $posParam = strpos($this->query, '?');
  
              // Valida si el numero de parametros coincide
              if ($totalParams != count($this->parameters)) {
                  $this->error = 'Incorrect number of parameters in the query.';
                  return false;
              }
  
              foreach ($this->parameters as $param => $paramContent) {
                  $valueParam = '';
  
                  if ($paramContent['type'] == 'i' || $paramContent['type'] == 'd') {
                      $valueParam = $paramContent['value'];
                  } elseif ($paramContent['type'] == 's' || $paramContent['type'] == 'b') {
                      $valueParam = '\'' . $paramContent['value'] . '\'';
                  }
  
                  $newQuery = substr_replace($this->query, $valueParam, $posParam, 1);
                  $posParam = strpos($newQuery, '?');
                  $this->query = $newQuery;
              }
          }
  
          return $this->executeQuery();
      }
docs: /*
  Como el conector MSSQL de PHP no cuenta con consultas con
  parametros, se deben emular.