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.