From 668b1f9cf6bcd399385fde4d9a028009b77e693c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 6 Jul 2015 10:12:31 +0200 Subject: [PATCH] More TODO --- TODO.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index f8bc4f07a..bf7b4fa47 100644 --- a/TODO.md +++ b/TODO.md @@ -3,4 +3,5 @@ - [ ] db.fetch(RowModel.type, primaryKeys:[...]) // several primary keys - [ ] Investigate INSERT OR REPLACE - [ ] Add bindings to SQLiteError, so that one known the value that could not be updated/inserted. -- [ ] Consider adding execute and fetch methods to DatabaseQueue. +- [ ] 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.