DatabaseValueCursor

public final class DatabaseValueCursor<Value> : Cursor where Value : DatabaseValueConvertible

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

try dbQueue.read { db in
    let urls: DatabaseValueCursor<URL> = try URL.fetchCursor(db, sql: "SELECT url FROM link")
    while let url = urls.next() { // URL
        print(url)
    }
}