Iterates over the rows of a statement, as returned by StatementSync.iterate(). It's a standard JS iterator, so it works with for...of, spread syntax and iterator helpers.
StatementSync.iterate()
for...of
Reads the next row.
The next row as value, or done: true (with value null) once there are no more rows
value
done: true
null
Stops iterating, releasing the statement. for...of calls this when the loop exits early.
{ done: true, value: null }
Iterates over the rows of a statement, as returned by
StatementSync.iterate(). It's a standard JS iterator, so it works withfor...of, spread syntax and iterator helpers.