@pi-r/redis 0.9.6 → 0.9.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
|
@@ -149,9 +149,9 @@ async function executeBatchQuery(batch, options = '', outResult) {
|
|
|
149
149
|
if (length === 0) {
|
|
150
150
|
return [];
|
|
151
151
|
}
|
|
152
|
-
let parallel, checkObject, connectOnce, errorQuery, sessionKey, outCacheMiss;
|
|
152
|
+
let parallel, checkObject, connectOnce, errorQuery, errorAsEmpty, sessionKey, outCacheMiss;
|
|
153
153
|
if ((0, types_1.isPlainObject)(options)) {
|
|
154
|
-
({ parallel, checkObject, connectOnce, errorQuery, sessionKey, outCacheMiss } = options);
|
|
154
|
+
({ parallel, checkObject, connectOnce, errorQuery, errorAsEmpty, sessionKey, outCacheMiss } = options);
|
|
155
155
|
}
|
|
156
156
|
else {
|
|
157
157
|
if (typeof options === 'string') {
|
|
@@ -635,6 +635,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
|
|
|
635
635
|
}
|
|
636
636
|
return this.processRows(batch, tasks, {
|
|
637
637
|
parallel,
|
|
638
|
+
errorAsEmpty,
|
|
638
639
|
disconnect() {
|
|
639
640
|
for (const item of clients) {
|
|
640
641
|
void item.disconnect();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/redis",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.7",
|
|
4
4
|
"description": "Redis 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.11.
|
|
24
|
-
"@e-mc/types": "^0.11.
|
|
23
|
+
"@e-mc/db": "^0.11.19",
|
|
24
|
+
"@e-mc/types": "^0.11.19",
|
|
25
25
|
"redis": "^4.7.0"
|
|
26
26
|
}
|
|
27
27
|
}
|