Skip to content

Commit 96941c3

Browse files
committed
iterate
1 parent 79c3170 commit 96941c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

promise.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ class Statement {
261261
*
262262
* @param bindParameters - The bind parameters for executing the statement.
263263
*/
264-
iterate(...bindParameters) {
264+
async iterate(...bindParameters) {
265265
try {
266-
const it = this.stmt.iterate(...bindParameters);
266+
const it = await this.stmt.iterate(...bindParameters);
267267
it[Symbol.iterator] = function() { return this; };
268268
return it;
269269
} catch (err) {

0 commit comments

Comments
 (0)