QueryIterator

public struct QueryIterator : Sequence, IteratorProtocol

The iterator that returns successive rows from a Query.

  • The iterator that returns successive rows from a Query.

    Declaration

    Swift

    public mutating func next() -> QueryRow?

    Return Value

    The next element in the underlying sequence if a next element exists; otherwise, nil.