RecordCursor
public final class RecordCursor<Record> : Cursor where Record : FetchableRecord
A cursor of records. For example:
struct Player : FetchableRecord { ... }
try dbQueue.read { db in
let players: RecordCursor<Player> = try Player.fetchCursor(db, sql: "SELECT * FROM player")
}
-
Declaration
Swift
public func next() throws -> Record?