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? ```