DatabaseCursor

public protocol DatabaseCursor : _DatabaseCursor

A protocol for cursors that iterate a database statement.

Cursors

  • next() Extension method

    Declaration

    Swift

    @inlinable
    public func next() throws -> Element?
  • forEach(_:) Extension method

    Specific implementation of forEach, for a slight performance improvement due to the single sqlite3_stmt_busy check.

    Declaration

    Swift

    @inlinable
    public func forEach(_ body: (Element) throws -> Void) throws