c2-mongoose 2.1.185 → 2.1.186
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.
package/dist/flow/SearchFlow.js
CHANGED
|
@@ -500,7 +500,7 @@ var SearchFlow = /** @class */ (function () {
|
|
|
500
500
|
}
|
|
501
501
|
else if (key.endsWith('NotExist')) {
|
|
502
502
|
var fieldName = key.replace('NotExist', '');
|
|
503
|
-
condition[fieldName] = { $exists:
|
|
503
|
+
condition[fieldName] = { $exists: value };
|
|
504
504
|
filters.$and.push(condition);
|
|
505
505
|
}
|
|
506
506
|
else {
|
package/package.json
CHANGED
package/src/flow/SearchFlow.ts
CHANGED
|
@@ -449,7 +449,7 @@ abstract class SearchFlow {
|
|
|
449
449
|
filters.$and.push(condition)
|
|
450
450
|
} else if (key.endsWith('NotExist')) {
|
|
451
451
|
var fieldName = key.replace('NotExist', '')
|
|
452
|
-
condition[fieldName] = { $exists:
|
|
452
|
+
condition[fieldName] = { $exists: value as boolean }
|
|
453
453
|
filters.$and.push(condition)
|
|
454
454
|
}
|
|
455
455
|
|