@builder6/query-mongodb 0.13.5 → 0.13.6

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/pipelines.js CHANGED
@@ -419,6 +419,8 @@ var parseFilter = function parseFilter(element) {
419
419
  return rval(constructRegex(_fieldName2, '^((?!' + element[2] + ').)*$', caseInsensitiveRegex), [element[0]]);
420
420
  case 'equalsobjectid':
421
421
  return rval(construct(_fieldName2, '$eq', new ObjectId(element[2])), [element[0]]);
422
+ case 'in':
423
+ return rval(construct(_fieldName2, '$in', element[2]), [element[0]]);
422
424
  default:
423
425
  return null;
424
426
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builder6/query-mongodb",
3
- "version": "0.13.5",
3
+ "version": "0.13.6",
4
4
  "description": "Querying a MongoDB collection using DevExtreme data store load parameters",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -56,5 +56,5 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "gitHead": "ff221ab5e7882b990fd25239e019b8aa3989da49"
59
+ "gitHead": "e4d60880d6aa3ab0c56400cc01058f6e144533aa"
60
60
  }
package/src/pipelines.js CHANGED
@@ -460,6 +460,10 @@ const parseFilter = (element, contextOptions = {}) => {
460
460
  construct(fieldName, '$eq', new ObjectId(element[2])),
461
461
  [element[0]]
462
462
  );
463
+ case 'in':
464
+ return rval(construct(fieldName, '$in', element[2]), [
465
+ element[0],
466
+ ]);
463
467
  default:
464
468
  return null;
465
469
  }