From 6973a4b4875875cb23cd3b0b2e317aee7bc04626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 6 Jul 2015 10:34:58 +0200 Subject: [PATCH] More TODO --- TODO.md | 1 + 1 file changed, 1 insertion(+) diff --git a/TODO.md b/TODO.md index bf7b4fa47..0c73d9b20 100644 --- a/TODO.md +++ b/TODO.md @@ -5,3 +5,4 @@ - [ ] Add bindings to SQLiteError, so that one known the value that could not be updated/inserted. - [ ] Document why execute and fetch methods will never be added to DatabaseQueue, and one always has to execute a block. It is because code like `dbQueue.execute("INSERT..."); let id = dbQueue.lastInsertedRowID` would be *unsafe*. - [ ] Pierlo complains that databaseDictionary returns a dictionary of values when updateFromDatabaseRow eats a Row. See if we can do something about that. +- [ ] db.fetch(RowModel.type, primaryKey: Bindings) in unsafe because there are chances that array bindings don't match the order of primary key columns. Rethink fetching by primary key for RowModels with primary keys that span accross multiple columns. \ No newline at end of file