From 00fb558db87aaa0775fdca04083fe102256e3f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 10 Dec 2015 18:20:47 +0100 Subject: [PATCH] TODO.md --- GRDB/Core/Protocols/DatabasePersistable.swift | 1 + TODO.md | 1 + 2 files changed, 2 insertions(+) diff --git a/GRDB/Core/Protocols/DatabasePersistable.swift b/GRDB/Core/Protocols/DatabasePersistable.swift index 79239af10..9ebdc3c7a 100644 --- a/GRDB/Core/Protocols/DatabasePersistable.swift +++ b/GRDB/Core/Protocols/DatabasePersistable.swift @@ -59,6 +59,7 @@ public protocol DatabasePersistable : DatabaseTableMapping { /// - parameter name: The name of the eventual INTEGER PRIMARY KEY column. mutating func didInsertWithRowID(rowID: Int64, forColumn name: String?) + // MARK: - CRUD /// Executes an INSERT statement. diff --git a/TODO.md b/TODO.md index 8146f42a6..1d3497250 100644 --- a/TODO.md +++ b/TODO.md @@ -4,6 +4,7 @@ - [ ] `IN (?)` sql snippet, with an array argument. - [ ] Write sample code around NSFetchedResultsController: fetch and output a list of TableView sections & row differences. - [ ] Compare DatabaseCoder with http://mjtsai.com/blog/2015/11/08/the-java-deserialization-bug-and-nssecurecoding/ +- [ ] Try to avoid the mandatory mutation of DatabasePersistable.insert() Not sure: