README.md

This commit is contained in:
Gwendal Roué committed 2015-07-09 20:56:03 +02:00
1 parent 03fc691a68
commit f00a505858
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -701,7 +701,7 @@ try dbQueue.inDatabase { db in
There are three kinds of primary keys:
- **RowID**: use it when you rely on SQLite to automatically generate IDs (see https://www.sqlite.org/autoinc.html).
- **RowID**: use it when you rely on automatically generated IDs in an `INTEGER PRIMARY KEY` column. Beware GRDB.swift does not support the special `ROWID` column (see https://www.sqlite.org/autoinc.html for more information).
- **Column**: for single-column primary keys that are not managed by SQLite.
-1
View File
@@ -1,4 +1,3 @@
- [ ] RowModel support for implicit RowID column (see https://www.sqlite.org/autoinc.html)
- [ ] Fetch with a collection of primary keys: db.fetch(RowModel.type, primaryKeys:[...]). Problem: users will often want to sort, so the plain SELECT * FROM persons WHERE id IN (?,?,?) won't be appreciated. Needs more thought.
- [ ] Let Bindings eat arrays, or make it easy to generate series of ?,?,?,?
- [X] Pierlo complains that databaseDictionary returns a dictionary of values when updateFromDatabaseRow eats a Row. See if we can do something about that. Experiment with a setDatabaseValueForKey API.