We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc9c81b commit 8d03c4cCopy full SHA for 8d03c4c
src/tedious/wrapQuery.js
@@ -109,9 +109,6 @@ function wrapQuery(_context, connection) {
109
if (results.length === 0) {
110
// No result sets - return empty array
111
onCompleted(null, []);
112
- } else if (results.length === 1) {
113
- // Single result set - return as single-depth array (even if empty)
114
- onCompleted(null, results[0]);
115
} else {
116
// Multiple result sets - return as array of arrays
117
onCompleted(null, results);
0 commit comments