From 2bdeae0ddb81e8230e42978d0b9ab812e16992f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sun, 31 Jul 2016 06:26:16 +0200 Subject: [PATCH] README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8c9d1f547..507742ee1 100644 --- a/README.md +++ b/README.md @@ -1336,7 +1336,7 @@ GRDB provides four high-level methods as well: ```swift db.tableExists("persons") // Bool, true if the table exists db.indexes(on: "persons") // [IndexInfo], the indexes defined on the table -try db.table("persons", hasUniqueKey: ["id"]) // Bool, true if column(s) is a unique key +try db.table("persons", hasUniqueKey: ["email"]) // Bool, true if column(s) is a unique key try db.primaryKey("persons") // PrimaryKey? ```