Fix typos in usage examples

This commit is contained in:
Nathan Manceaux-Panot committed 2026-01-09 15:44:42 +01:00
1 parent 129e53d54e
commit ce71d6c19f
1 file changed
+2 -2
+2 -2
View File
@@ -199,7 +199,7 @@ try dbQueue.write { db in
// Update a record
player.score += 10
try score.update(db)
try player.update(db)
try player.updateChanges { $0.score += 10 }
@@ -1652,7 +1652,7 @@ Records
```swift
try dbQueue.write { db in
if var place = try Player.fetchOne(db, id: 1) {
if var player = try Player.fetchOne(db, id: 1) {
player.score += 10
try player.update(db)
}