From 91bb96bcb1aac57bf222d0728585cf69c0b39bcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 6 Jul 2015 10:01:20 +0200 Subject: [PATCH] README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a7f723295..8fb8fb20a 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,9 @@ import GRDB let dbQueue = try DatabaseQueue(path: "/path/to/database.sqlite") // Fetch and insert values: -let redWinesCount = dbQueue.inDatabase { db in +let redWinesCount = dbQueue.inDatabase { db in // Int db.fetchOne(Int.self, "SELECT COUNT(*) FROM wines WHERE color = ?", - bindings: [Color.Red]) // Int? + bindings: [Color.Red])! } // Insert and fetch row models: