mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
README.md
This commit is contained in:
1 parent
b11e617635
commit
173768bb03
1 file changed
+2
@@ -707,6 +707,8 @@ There are three kinds of primary keys:
|
||||
|
||||
- **Columns**: for primary keys that span accross several columns.
|
||||
|
||||
RowModels with a multi-column primary key are not supported by `Database.fetchOne(type:primaryKey:)`, which accepts a single value as a key. Instead, use `Database.fetchOne(type:key:)` that uses a dictionary.
|
||||
|
||||
|
||||
The kind of primary key has consequences on the insert/update/delete methods that we will see below.
|
||||
|
||||
|
||||
Reference in new issue
Block a user