@pi-r/mssql 0.11.0 → 0.11.2
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 +4 -4
- package/types/pool.d.ts +1 -1
package/client/index.js
CHANGED
|
@@ -244,7 +244,7 @@ function setCredential(item) {
|
|
|
244
244
|
.parent = POOL_STATE;
|
|
245
245
|
}
|
|
246
246
|
async function executeQuery(item, options) {
|
|
247
|
-
return (await executeBatchQuery.call(this, [item], options))
|
|
247
|
+
return (await executeBatchQuery.call(this, [item], options)).at(0) || [];
|
|
248
248
|
}
|
|
249
249
|
async function executeBatchQuery(batch, options = '', outResult) {
|
|
250
250
|
const length = batch.length;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pi-r/mssql",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "MSSQL client driver for E-mc.",
|
|
5
5
|
"main": "client/index.js",
|
|
6
6
|
"types": "client/index.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"homepage": "https://github.com/anpham6/pi-r#readme",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@e-mc/db": "^0.13.
|
|
24
|
-
"@e-mc/types": "^0.13.
|
|
25
|
-
"tedious": "^18.6.
|
|
23
|
+
"@e-mc/db": "^0.13.9",
|
|
24
|
+
"@e-mc/types": "^0.13.9",
|
|
25
|
+
"tedious": "^18.6.2",
|
|
26
26
|
"tedious-connection-pool2": "^2.1.0"
|
|
27
27
|
}
|
|
28
28
|
}
|