@pi-r/oracle 0.3.8 → 0.3.9

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 +5 -4
  2. package/package.json +3 -3
package/client/index.js CHANGED
@@ -168,9 +168,9 @@ async function executeBatchQuery(batch, options = '', outResult) {
168
168
  if (length === 0) {
169
169
  return [];
170
170
  }
171
- let parallel, connectOnce, errorQuery, sessionKey, outCacheMiss;
171
+ let parallel, connectOnce, errorQuery, errorAsEmpty, sessionKey, outCacheMiss;
172
172
  if ((0, types_1.isPlainObject)(options)) {
173
- ({ parallel, connectOnce, errorQuery, sessionKey } = options);
173
+ ({ parallel, connectOnce, errorQuery, errorAsEmpty, sessionKey, outCacheMiss } = options);
174
174
  }
175
175
  else {
176
176
  if (typeof options === 'string') {
@@ -357,8 +357,9 @@ async function executeBatchQuery(batch, options = '', outResult) {
357
357
  }
358
358
  }
359
359
  return this.processRows(batch, tasks, {
360
- disconnect: () => clients.forEach(item => item.close(err => err && this.writeFail(["Unable to close connnection", "oracle"], err, { type: 65536, fatal: false }))),
361
- parallel
360
+ parallel,
361
+ errorAsEmpty,
362
+ disconnect: () => clients.forEach(item => item.close(err => err && this.writeFail(["Unable to close connnection", "oracle"], err, { type: 65536, fatal: false })))
362
363
  }, outResult);
363
364
  }
364
365
  exports.executeBatchQuery = executeBatchQuery;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pi-r/oracle",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "description": "Oracle client driver for E-mc.",
5
5
  "main": "client/index.js",
6
6
  "types": "client/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "license": "MIT",
22
22
  "homepage": "https://github.com/anpham6/pi-r#readme",
23
23
  "dependencies": {
24
- "@e-mc/db": "^0.6.19",
25
- "@e-mc/types": "^0.6.19",
24
+ "@e-mc/db": "^0.6.21",
25
+ "@e-mc/types": "^0.6.21",
26
26
  "oracledb": "^6.5.1"
27
27
  }
28
28
  }