@webtypen/webframez-core 0.2.60 → 0.2.61

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.
@@ -301,22 +301,22 @@ class Datatable {
301
301
  else if (valueClean.toString().trim() === "!=null") {
302
302
  value = { $ne: null };
303
303
  }
304
- else if (valueClean.toString().startWith("!=")) {
304
+ else if (valueClean.toString().startsWith("!=")) {
305
305
  value = { $ne: valueClean.replace("!=", "") };
306
306
  }
307
- else if (valueClean.toString().startWith("==")) {
307
+ else if (valueClean.toString().startsWith("==")) {
308
308
  value = valueClean.replace("==", "");
309
309
  }
310
- else if (valueClean.toString().startWith(">=")) {
310
+ else if (valueClean.toString().startsWith(">=")) {
311
311
  value = { $gte: valueClean.replace(">=", "") };
312
312
  }
313
- else if (valueClean.toString().startWith(">")) {
313
+ else if (valueClean.toString().startsWith(">")) {
314
314
  value = { $gt: valueClean.replace(">", "") };
315
315
  }
316
- else if (valueClean.toString().startWith("<=")) {
316
+ else if (valueClean.toString().startsWith("<=")) {
317
317
  value = { $lte: valueClean.replace("<=", "") };
318
318
  }
319
- else if (valueClean.toString().startWith("<")) {
319
+ else if (valueClean.toString().startsWith("<")) {
320
320
  value = { $lt: valueClean.replace("<", "") };
321
321
  }
322
322
  else if (options && options.regex) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webtypen/webframez-core",
3
- "version": "0.2.60",
3
+ "version": "0.2.61",
4
4
  "description": "The core package of the typescript based webframez (web-framework) by webtypen.de",
5
5
  "homepage": "https://webtypen.de/",
6
6
  "license": "MIT",
@@ -304,17 +304,17 @@ export class Datatable {
304
304
  value = null;
305
305
  } else if (valueClean.toString().trim() === "!=null") {
306
306
  value = { $ne: null };
307
- } else if (valueClean.toString().startWith("!=")) {
307
+ } else if (valueClean.toString().startsWith("!=")) {
308
308
  value = { $ne: valueClean.replace("!=", "") };
309
- } else if (valueClean.toString().startWith("==")) {
309
+ } else if (valueClean.toString().startsWith("==")) {
310
310
  value = valueClean.replace("==", "");
311
- } else if (valueClean.toString().startWith(">=")) {
311
+ } else if (valueClean.toString().startsWith(">=")) {
312
312
  value = { $gte: valueClean.replace(">=", "") };
313
- } else if (valueClean.toString().startWith(">")) {
313
+ } else if (valueClean.toString().startsWith(">")) {
314
314
  value = { $gt: valueClean.replace(">", "") };
315
- } else if (valueClean.toString().startWith("<=")) {
315
+ } else if (valueClean.toString().startsWith("<=")) {
316
316
  value = { $lte: valueClean.replace("<=", "") };
317
- } else if (valueClean.toString().startWith("<")) {
317
+ } else if (valueClean.toString().startsWith("<")) {
318
318
  value = { $lt: valueClean.replace("<", "") };
319
319
  } else if (options && options.regex) {
320
320
  value = new RegExp(valueClean, "i");