From baed5ce686b26fc1950a874cb45960441fc7dcb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Tue, 19 Jan 2016 22:29:30 +0100 Subject: [PATCH] TODO.md --- TODO.md | 1 + 1 file changed, 1 insertion(+) diff --git a/TODO.md b/TODO.md index 254b772ac..69fcc43c9 100644 --- a/TODO.md +++ b/TODO.md @@ -2,6 +2,7 @@ Not sure: +- [ ] What is a query builder that does not make the whole library suck as soon as one has to write SQL for the occasional complicated query? - [ ] Refactor errors in a single type? - [ ] 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? - [ ] Have Record adopt Hashable and Equatable, based on primary key. Problem: we can't do it know because we don't know the primary key until we have a database connection.