From 26564cfedaecbc970add6ff617e4f0623a22e126 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 16 Sep 2016 19:55:52 +0200 Subject: [PATCH] Conflict resolution documentation --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 08bad3ffb..2b6eaa9e4 100644 --- a/README.md +++ b/README.md @@ -2031,8 +2031,7 @@ SQLite let you specify conflict policies at two different places: t.column("email", .text) } - // Despite the unique index on email, both inserts succeed. - // The second insert replaces the first row: + // Again, despite the unique index on email, both inserts succeed. try db.execute("INSERT OR REPLACE INTO persons (email) VALUES (?)", arguments: ["arthur@example.com"]) try db.execute("INSERT OR REPLACE INTO persons (email) VALUES (?)", arguments: ["arthur@example.com"]) ```