README.md

This commit is contained in:
Gwendal Roué committed 2016-07-31 06:26:16 +02:00
1 parent 0fb1eec3cd
commit 2bdeae0ddb
1 file changed
+1 -1
+1 -1
View File
@@ -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?
```