@pi-r/mongodb 0.12.1 → 0.12.3

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 +5 -5
package/client/index.js CHANGED
@@ -366,7 +366,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
366
366
  }
367
367
  else if (!aggregate) {
368
368
  cacheCredential = DbPool.sanitize(mongoCredential || credential, sortKeys);
369
- if (setResult()) {
369
+ if (!update && setResult()) {
370
370
  continue;
371
371
  }
372
372
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/mongodb",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "description": "MongoDB client driver for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "types": "client/index.d.ts",
@@ -17,9 +17,9 @@
17
17
  "license": "MIT",
18
18
  "homepage": "https://github.com/anpham6/pi-r#readme",
19
19
  "dependencies": {
20
- "@e-mc/db": "^0.14.1",
21
- "@e-mc/request": "^0.14.1",
22
- "@e-mc/types": "^0.14.1",
23
- "mongodb": "^7.2.0"
20
+ "@e-mc/db": "^0.14.4",
21
+ "@e-mc/request": "^0.14.4",
22
+ "@e-mc/types": "^0.14.4",
23
+ "mongodb": "^7.4.0"
24
24
  }
25
25
  }