@pi-r/mongodb 0.7.2 → 0.7.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
@@ -243,7 +243,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
243
243
  parallel = false;
244
244
  }
245
245
  else if (parallel === undefined) {
246
- parallel = !batch.some(item => item.parallel === false);
246
+ parallel = !batch.some(item => item.parallel === false || !!item.update);
247
247
  }
248
248
  if (!parallel) {
249
249
  outResult ||= new Array(length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/mongodb",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "MongoDB client driver for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "types": "client/index.d.ts",
@@ -21,9 +21,9 @@
21
21
  "license": "MIT",
22
22
  "homepage": "https://github.com/anpham6/pi-r#readme",
23
23
  "dependencies": {
24
- "@e-mc/db": "^0.9.4",
25
- "@e-mc/request": "^0.9.4",
26
- "@e-mc/types": "^0.9.4",
27
- "mongodb": "^6.7.0"
24
+ "@e-mc/db": "^0.9.6",
25
+ "@e-mc/request": "^0.9.6",
26
+ "@e-mc/types": "^0.9.6",
27
+ "mongodb": "^6.8.0"
28
28
  }
29
29
  }