DatabaseValueCursor

public final class DatabaseValueCursor<Value> : DatabaseCursor 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)
    }
}