README.md

This commit is contained in:
Gwendal Roué committed 2015-12-02 09:15:44 +01:00
1 parent bdd28b5cd4
commit 5a2971fe6f
1 file changed
+1 -1
+1 -1
View File
@@ -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: