@pi-r/oracle 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.
Files changed (2) hide show
  1. package/client/index.js +1 -1
  2. package/package.json +3 -3
package/client/index.js CHANGED
@@ -378,7 +378,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
378
378
  }
379
379
  }
380
380
  }
381
- return this.processRows(batch, tasks, {
381
+ return this.processRows(batch, tasks, clients.length === 0 ? parallel : {
382
382
  parallel,
383
383
  disconnect: () => {
384
384
  for (const item of clients) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/oracle",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "Oracle client driver for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "types": "client/index.d.ts",
@@ -20,8 +20,8 @@
20
20
  "license": "MIT",
21
21
  "homepage": "https://github.com/anpham6/pi-r#readme",
22
22
  "dependencies": {
23
- "@e-mc/db": "^0.12.0",
24
- "@e-mc/types": "^0.12.0",
23
+ "@e-mc/db": "^0.12.3",
24
+ "@e-mc/types": "^0.12.3",
25
25
  "oracledb": "^6.8.0"
26
26
  }
27
27
  }