@pi-r/mysql 0.8.6 → 0.8.7
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 +3 -2
- package/package.json +3 -3
package/client/index.js
CHANGED
|
@@ -124,9 +124,9 @@ async function executeBatchQuery(batch, options = '', outResult) {
|
|
|
124
124
|
if (length === 0) {
|
|
125
125
|
return [];
|
|
126
126
|
}
|
|
127
|
-
let parallel, connectOnce, errorQuery, sessionKey, outCacheMiss;
|
|
127
|
+
let parallel, connectOnce, errorQuery, errorAsEmpty, sessionKey, outCacheMiss;
|
|
128
128
|
if ((0, types_1.isPlainObject)(options)) {
|
|
129
|
-
({ parallel, connectOnce, errorQuery, sessionKey, outCacheMiss } = options);
|
|
129
|
+
({ parallel, connectOnce, errorQuery, errorAsEmpty, sessionKey, outCacheMiss } = options);
|
|
130
130
|
}
|
|
131
131
|
else {
|
|
132
132
|
if (typeof options === 'string') {
|
|
@@ -349,6 +349,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
|
|
|
349
349
|
}
|
|
350
350
|
return this.processRows(batch, tasks, {
|
|
351
351
|
parallel,
|
|
352
|
+
errorAsEmpty,
|
|
352
353
|
disconnect: () => {
|
|
353
354
|
for (const item of clients) {
|
|
354
355
|
void item.end(err => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/mysql",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"description": "MySQL 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.10.
|
|
25
|
-
"@e-mc/types": "^0.10.
|
|
24
|
+
"@e-mc/db": "^0.10.22",
|
|
25
|
+
"@e-mc/types": "^0.10.22",
|
|
26
26
|
"mysql2": "^3.11.3"
|
|
27
27
|
}
|
|
28
28
|
}
|