From 1829706faa4eda55e721ca6df3ff1f9d0b3694ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 11 Sep 2020 14:34:55 +0200 Subject: [PATCH] =?UTF-8?q?[skip=20travis]=20don=E2=80=99t=20talk=20about?= =?UTF-8?q?=20"misuse"=20when=20it=E2=80=99s=20all=20about=20an=20SQLite?= =?UTF-8?q?=20misfeature?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e1f1b1ca2..038a71c6f 100644 --- a/README.md +++ b/README.md @@ -7852,15 +7852,15 @@ When this is the case, there are two possible explanations: ```swift let name: String = ... - // MISUSE (double quote) + // NOT STANDARD (double quote) try db.execute(sql: """ UPDATE player SET name = "\(name)" """) - // BETTER, BUT STILL NOT RECOMMENDED (single quote) + // STANDARD, BUT STILL NOT RECOMMENDED (single quote) try db.execute(sql: "UPDATE player SET name = '\(name)'") - // RECOMMENDED (statement arguments) + // STANDARD, AND RECOMMENDED (statement arguments) try db.execute(sql: "UPDATE player SET name = ?", arguments: [name]) ```