From f357ffe4ad4ff036b3cc384f0f061cd76f19c947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 11 Sep 2015 18:44:48 +0200 Subject: [PATCH] More TODO --- TODO.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 10fd0dd4f..dd1515fb1 100644 --- a/TODO.md +++ b/TODO.md @@ -2,4 +2,5 @@ - [ ] Use @warn_unused_result - [ ] Read https://www.sqlite.org/isolation.html - [ ] Read https://www.sqlite.org/lang_createtable.html -- [ ] Since Records' primary key are infered, no operation is possible on the primary key unless we have a Database instance. It's impossible to define the record.primaryKey property, or to provide a copy() function that does not clone the primary key: they miss the database that is the only object aware of the primary key. Should we change our mind, and have Record explicitly expose their primary key again? \ No newline at end of file +- [ ] Since Records' primary key are infered, no operation is possible on the primary key unless we have a Database instance. It's impossible to define the record.primaryKey property, or to provide a copy() function that does not clone the primary key: they miss the database that is the only object aware of the primary key. Should we change our mind, and have Record explicitly expose their primary key again? +- [ ] Do we need withExtendedLifetime in DatabaseQueue.inQueue()? Could the databaseQueue get deallocated while the database is executeing statements? What would be the consequences?