We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7e731e commit d919c7fCopy full SHA for d919c7f
lib/connection.js
@@ -62,7 +62,7 @@ function Connection(options = {}) {
62
})
63
64
function onsuspended(x, done) {
65
- new Promise(r => r(backend.query.cursor(
+ new Promise(r => r(x.length && backend.query.cursor(
66
backend.query.cursor.rows === 1 ? x[0] : x
67
))).then(x => {
68
x === END || done
0 commit comments