From 89ce13c43c2f46bbc6337f4fe166f8962b64caa0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 7 Jun 2018 18:59:47 +0200 Subject: [PATCH] Documentation tweaks --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7e5f928c1..a04362b92 100644 --- a/README.md +++ b/README.md @@ -2699,7 +2699,7 @@ let oldPlayer = try Player.fetchOne(db, ...) var newPlayer = oldPlayer newPlayer.score = 100 if try newPlayer.updateChanges(db, from: oldPlayer) { - print("player was modified") + print("player was modified, and updated in the database") } else { print("player was not modified") } @@ -2714,7 +2714,7 @@ The [Record](#record-class) class is able to compare against itself, and knows i let player = try Player.fetchOne(db, ...) player.score = 100 if try player.updateChanges(db) { - print("player was modified") + print("player was modified, and updated in the database") } else { print("player was not modified") } @@ -3147,7 +3147,7 @@ class Place: Record { ## List of Record Methods -This is the list of record methods, along with their required protocols. The [Record](#record-class) adopts all these protocols, and adds a few extra methods. +This is the list of record methods, along with their required protocols. The [Record](#record-class) class adopts all these protocols, and adds a few extra methods. | Method | Protocols | Notes | | ------ | --------- | :---: |