@pi-r/mongodb 0.10.0 → 0.10.1
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/client/index.js +1 -1
- package/package.json +4 -4
package/client/index.js
CHANGED
|
@@ -503,7 +503,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
|
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
return this.processRows(batch, tasks, {
|
|
506
|
+
return this.processRows(batch, tasks, clients.length === 0 ? parallel : {
|
|
507
507
|
parallel,
|
|
508
508
|
disconnect() {
|
|
509
509
|
for (const item of clients) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/mongodb",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "MongoDB client driver for E-mc.",
|
|
5
5
|
"main": "client/index.js",
|
|
6
6
|
"types": "client/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"homepage": "https://github.com/anpham6/pi-r#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/db": "^0.12.
|
|
24
|
-
"@e-mc/request": "^0.12.
|
|
25
|
-
"@e-mc/types": "^0.12.
|
|
23
|
+
"@e-mc/db": "^0.12.3",
|
|
24
|
+
"@e-mc/request": "^0.12.3",
|
|
25
|
+
"@e-mc/types": "^0.12.3",
|
|
26
26
|
"mongodb": "^6.16.0"
|
|
27
27
|
}
|
|
28
28
|
}
|