From 6ab51cd20779307f32ef2cf309260cd35db651a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 16 Jan 2016 11:04:12 +0100 Subject: [PATCH] README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b1ddcf82a..3271aaca9 100644 --- a/README.md +++ b/README.md @@ -1854,10 +1854,10 @@ See [Column Values](#column-values) for more information about the `row.value()` The Country class is now ready: ```swift -dbQueue.inDatabase { db in +try dbQueue.inDatabase { db in let unitedStates = Country.fetchOne(db, key: "US")! let country = Country(isoCode: "FR", name: "France") - country.insert(db) + try country.insert(db) } ```