API Docs

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.

Properties

This type has no properties.

Methods

return() -> { done: boolean, value: any }

Stops iterating, releasing the statement. for...of calls this when the loop exits early.

return() -> { done: boolean, value: any }
{ done: boolean, value: any }
{ done: true, value: null }
rows.return()