@pi-r/mongodb 0.6.10 → 0.6.11

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.
Files changed (2) hide show
  1. package/client/index.js +1 -1
  2. package/package.json +1 -1
package/client/index.js CHANGED
@@ -356,7 +356,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
356
356
  continue;
357
357
  }
358
358
  }
359
- else if (!aggregate && setResult()) {
359
+ else if (!aggregate && !update && setResult()) {
360
360
  continue;
361
361
  }
362
362
  if (!ignoreCache && outCacheMiss) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/mongodb",
3
- "version": "0.6.10",
3
+ "version": "0.6.11",
4
4
  "description": "MongoDB client driver for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "types": "client/index.d.ts",