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?