@pi-r/mssql 0.12.5 → 0.13.0
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 +1 -1
- package/package.json +2 -2
package/client/index.js
CHANGED
|
@@ -355,7 +355,7 @@ async function executeBatchQuery(batch, options = '', outResult) {
|
|
|
355
355
|
const cacheValue = ignoreCache === undefined ? sessionKey : Array.isArray(ignoreCache) ? { sessionKey, exclusiveOf: ignoreCache } : { sessionKey, renewCache: ignoreCache === 0 };
|
|
356
356
|
let params = item.params, queryString = '';
|
|
357
357
|
if (caching && ignoreCache !== true && !streamRow) {
|
|
358
|
-
queryString = Db.
|
|
358
|
+
queryString = Db.keyForResult(query, params);
|
|
359
359
|
if (ignoreCache !== 1) {
|
|
360
360
|
const result = this.getQueryResult(source, credential, queryString, cacheValue);
|
|
361
361
|
if (result) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/mssql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "MSSQL client driver for E-mc.",
|
|
5
5
|
"main": "client/index.js",
|
|
6
6
|
"types": "client/index.d.ts",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@e-mc/db": "^0.14.6",
|
|
21
21
|
"@e-mc/types": "^0.14.6",
|
|
22
|
-
"tedious": "^
|
|
22
|
+
"tedious": "^20.0.0",
|
|
23
23
|
"tedious-connection-pool2": "^2.1.0"
|
|
24
24
|
}
|
|
25
25
|
}
|