@pi-r/oracle 0.12.3 → 0.12.5

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 +3 -2
  2. package/package.json +3 -3
package/client/index.js CHANGED
@@ -178,9 +178,9 @@ async function executeBatchQuery(batch, options = '', outResult) {
178
178
  if (length === 0) {
179
179
  return [];
180
180
  }
181
- let parallel, connectOnce, errorQuery, sessionKey, outCacheMiss;
181
+ let parallel, connectOnce, errorQuery, errorAsEmpty, sessionKey, outCacheMiss;
182
182
  if (isPlainObject(options)) {
183
- ({ parallel, connectOnce, errorQuery, sessionKey, outCacheMiss } = options);
183
+ ({ parallel, connectOnce, errorQuery, errorAsEmpty, sessionKey, outCacheMiss } = options);
184
184
  }
185
185
  else {
186
186
  if (typeof options === 'string') {
@@ -367,6 +367,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
367
367
  }
368
368
  return this.processRows(batch, tasks, clients.length === 0 ? parallel : {
369
369
  parallel,
370
+ errorAsEmpty,
370
371
  disconnect: () => {
371
372
  for (const item of clients) {
372
373
  item.close(err => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/oracle",
3
- "version": "0.12.3",
3
+ "version": "0.12.5",
4
4
  "description": "Oracle client driver for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "types": "client/index.d.ts",
@@ -17,8 +17,8 @@
17
17
  "license": "MIT",
18
18
  "homepage": "https://github.com/anpham6/pi-r#readme",
19
19
  "dependencies": {
20
- "@e-mc/db": "^0.14.4",
21
- "@e-mc/types": "^0.14.4",
20
+ "@e-mc/db": "^0.14.6",
21
+ "@e-mc/types": "^0.14.6",
22
22
  "oracledb": "^6.10.0"
23
23
  }
24
24
  }