diff --git a/README.md b/README.md index 5658b08a2..7db78ac12 100644 --- a/README.md +++ b/README.md @@ -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 + let persons = db.fetchAll(Person.type, "SELECT ...") // [Person] + for wine in db.fetch(Wine.type, "SELECT ...") { // AnySequence ... } }