hammerspoon2-docs
    Preparing search index...

    Class StatementSyncIterator

    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.

    Index
    • Reads the next row.

      Returns { done: boolean; value: any }

      The next row as value, or done: true (with value null) once there are no more rows

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

      Returns { done: boolean; value: any }

      { done: true, value: null }