QueryResultEnumerator

public class QueryResultEnumerator: Sequence, IteratorProtocol

Results of a view query

  • Declaration

    Swift

    public typealias Element = QueryResultRow
  • Declaration

    Swift

    public func next() -> QueryResultRow?
  • Number of rows skipped in the result set, as specified by the QueryParameters.startRow used to execute the query

    Declaration

    Swift

    public private(set) var startRow: UInt = 0
  • Populated in the event that running the query caused an error, otherwise nil.

    Declaration

    Swift

    public private(set) var error: Error?
  • Number of rows in the result set

    Declaration

    Swift

    public var count: Int