mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
#147: The fetch method have been removed, along with DatabaseSequence and DatabaseIterator.
This commit is contained in:
1 parent
6f158e3382
commit
af6e31dcdf
41 files changed
+932
-3027
No files matched your search
@@ -73,7 +73,8 @@ class QueryInterfaceRequestTests: GRDBTestCase {
|
||||
|
||||
do {
|
||||
var names: [String] = []
|
||||
for row in Row.fetch(db, tableRequest) {
|
||||
let rows = try Row.fetchCursor(db, tableRequest)
|
||||
while let row = try rows.next() {
|
||||
names.append(row.value(named: "name"))
|
||||
}
|
||||
XCTAssertEqual(lastSQLQuery, "SELECT * FROM \"readers\"")
|
||||
|
||||
Reference in new issue
Block a user