README.md

This commit is contained in:
Gwendal Roué committed 2015-08-27 09:11:17 +02:00
1 parent e87fa1e20c
commit ff63bb5b2e
1 file changed
+1 -2
+1 -2
View File
@@ -40,8 +40,7 @@ try dbQueue.inTransaction { db in
}
let redWinesCount = dbQueue.inDatabase { db in // Int
db.fetchOne(
Int.self,
db.fetchOne(Int.self,
"SELECT COUNT(*) FROM wines WHERE color = ?",
arguments: [Color.Red])!
}