From d9e80201b78fdb8e3c2007b489e6362bc7fc445c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Mon, 20 Jul 2015 19:48:06 +0200 Subject: [PATCH] More TODO --- TODO.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index 37dbd0c7f..fbe225f0e 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,7 @@ -- [ ] 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. +- [ ] 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 much useful. Needs more thought. - [ ] Let QueryArguments eat arrays, or make it easy to generate series of ?,?,?,? - [ ] Remove RowModelError.Dummy when rdar://problem/21707972 is fixed. -- [ ] Make DBDate public? Support both ISO-8601 and timestamps? -- [ ] Question public access to reusable statements, and Statement.arguments setter +- [ ] Make DBDate public? Support both ISO-8601 and timestamps? Since the format of CURRENT_TIMESTAMP is "YYYY-MM-DD HH:MM:SS", our ISO8601 formatter does not play well with date sorting :-( +- [ ] Question public access to reusable statements. - [ ] Support for UPSERT? Check http://stackoverflow.com/questions/418898/sqlite-upsert-not-insert-or-replace -- [ ] Add in README comparison with other SQLite libs (as of date of writing) \ No newline at end of file +- [ ] Try to have RowModel.init() take both a row and a dictionary, if possible.