Issue #60: PrimaryKey documentation

This commit is contained in:
Gwendal Roué committed 2016-05-28 12:56:19 +02:00
1 parent 0b24721b4a
commit 87992f9e75
1 file changed
+1 -1
+1 -1
View File
@@ -1267,7 +1267,7 @@ Primary key is nil when table has no primary key:
let itemPk = try db.primaryKey("items") // nil
```
Primary keys have one or several columns. When the primary key has a single column, it may contain the [row id](https://www.sqlite.org/autoinc.html):
Primary keys have one or several columns. Single-column primary keys may contain the auto-incremented [row id](https://www.sqlite.org/autoinc.html):
```swift
// CREATE TABLE persons (