FastNullableDatabaseValueCursor

public final class FastNullableDatabaseValueCursor<Value>: DatabaseCursor
where Value: DatabaseValueConvertible & StatementColumnConvertible

A cursor of optional database values extracted from a single column. For example:

try dbQueue.read { db in
    let emails: FastNullableDatabaseValueCursor<String> =
        try Optional<String>.fetchCursor(db, sql: "SELECT email FROM player")
    while let email = emails.next() { // String?
        print(email ?? "<NULL>")
    }
}