From 5a2971fe6ffbf70a8eb3ce821f98f2351fe4be6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Wed, 2 Dec 2015 09:15:44 +0100 Subject: [PATCH] README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c0179dd69..6c2e09b9b 100644 --- a/README.md +++ b/README.md @@ -1859,7 +1859,7 @@ if let existingPerson = Person.fetchOne(db, key: id) { } // Apply JSON payload (assuming json keys are column names) -let row = Row(dictionary: json) +let row = Row(dictionary: json)! person.updateFromRow(row) // Saves the person if it has changes that have not been saved: