diff --git a/packages/pg/lib/result.js b/packages/pg/lib/result.js index 350609743..5479b84ae 100644 --- a/packages/pg/lib/result.js +++ b/packages/pg/lib/result.js @@ -23,6 +23,10 @@ class Result { } } + [Symbol.iterator]() { + return this.rows.values() + } + // adds a command complete message addCommandComplete(msg) { var match