mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Document that implicit RowIDs are not supported.
This commit is contained in:
1 parent
2d936037f5
commit
e160355a8e
1 file changed
+3
-1
@@ -854,7 +854,7 @@ Yet, it does a few things well:
|
||||
(person.name, person.citizenshipsCount)
|
||||
```
|
||||
|
||||
- **It provides the classic CRUD operations on any database table.** Primary keys can be an automatically generated RowID, or a multi-column primary key, whatever.
|
||||
- **It provides the classic CRUD operations.** Primary keys can be an automatically generated RowID, or a multi-column primary key.
|
||||
|
||||
```swift
|
||||
let person = Person(name: "Arthur") // RowID primary key
|
||||
@@ -1019,6 +1019,8 @@ Records with a multi-column primary key are not supported by `fetchOne(_:primary
|
||||
|
||||
`fetchOne(_:key:)` returns the first Record with matching values. Its result is undefined unless the dictionary is *actually* a key.
|
||||
|
||||
[Implicit RowIDs](https://www.sqlite.org/lang_createtable.html#rowid) are not supported.
|
||||
|
||||
|
||||
#### Insert, Update and Delete
|
||||
|
||||
|
||||
Reference in new issue
Block a user