mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
README.md
This commit is contained in:
1 parent
13b9fb19c5
commit
1378acd0a2
1 file changed
+2
-2
@@ -37,8 +37,8 @@ try dbQueue.inTransaction { db in
|
||||
}
|
||||
|
||||
dbQueue.inDatabase { db in
|
||||
persons = db.fetchAll(Person.type, "SELECT ...") // [Person]
|
||||
for wine in db.fetch(Wine.type, "SELECT ...") { // AnySequence<Wine>
|
||||
let persons = db.fetchAll(Person.type, "SELECT ...") // [Person]
|
||||
for wine in db.fetch(Wine.type, "SELECT ...") { // AnySequence<Wine>
|
||||
...
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user