#147: The fetch method have been removed, along with DatabaseSequence and DatabaseIterator.

This commit is contained in:
Gwendal Roué committed 2016-11-26 21:14:10 +01:00
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\"")