@fluxhub/fluxhub-lib 9.0.127 → 9.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -963,12 +963,12 @@
963
963
  if (queryp.types[i] == 'date') {
964
964
  queryp.values[i] = this.uti_s.sql_date(queryp.values[i]);
965
965
  if (queryp.values[i].split('0').join('') == 'NaN-NaN-NaN')
966
- queryp.values[i] = 'dbnull';
966
+ queryp.values[i] = null;
967
967
  }
968
968
  if (queryp.types[i] == 'datetime') {
969
969
  queryp.values[i] = this.uti_s.sql_date_time(queryp.values[i]);
970
970
  if (queryp.values[i].split('0').join('') == 'NaN-NaN-NaN NaN:NaN')
971
- queryp.values[i] = 'dbnull';
971
+ queryp.values[i] = null;
972
972
  }
973
973
  if (queryp.types[i] == 'string' && queryp.values[i] == null)
974
974
  queryp.values[i] = 'dbnull';