More TODO

This commit is contained in:
Gwendal Roué committed 2015-07-07 09:42:06 +02:00
1 parent 6330a2caad
commit c64e106965
1 file changed
+2
+2
View File
@@ -2,3 +2,5 @@
- [ ] 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 ?,?,?,?
- [ ] Pierlo complains that databaseDictionary returns a dictionary of values when updateFromDatabaseRow eats a Row. See if we can do something about that.
- [ ] RowModel methods that return a Bool should throw a RowModelError
- [ ] Investigate RowModel.Version (or some name) that provides: a single call to databaseDictionary, the (lazy) primaryKeyDictionary property, and the lazy isUniquelyIdentifiedInDatabase property which is false if and only if the primaryKeyDictionary only contains nils.