mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
README.md
This commit is contained in:
1 parent
bdd28b5cd4
commit
5a2971fe6f
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user