From 06e34c88b55eb25e2ee12fed5a5bd0b0f65b0cc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 24 Nov 2016 10:14:33 +0100 Subject: [PATCH 1/2] TODO.md --- TODO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index a6efb0b1f..4692e1af0 100644 --- a/TODO.md +++ b/TODO.md @@ -1,4 +1,4 @@ -- [ ] Documentation: A synthetic table of record methods +- [ ] Make sure Row.fetch(...).map { row in ... } works - [ ] Swift 3.0.2 (Xcode 8.2): "Type inference will properly unwrap optionals when used with generics and implicitly-unwrapped optionals." Maybe this fixes `row.value(named: "foo") as? Int`? - [ ] Refactor Database notion of transaction/savepoints into a single type. Support INSERT OR ROLLBACK. - Since some statements may implicitly rollback transactions, we can not rely on explicit rollback statements to infer the transaction state. We can only rely on sqlite3_rollback_hook, assuming it is called even for implicit rollbacks (test with an INSERT OR ROLLBACK statement). From b8ee051f8fcb0393a91e532547dee909cdaf6006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 24 Nov 2016 10:18:34 +0100 Subject: [PATCH 2/2] TODO.md --- TODO.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index 4692e1af0..e800f5457 100644 --- a/TODO.md +++ b/TODO.md @@ -1,4 +1,4 @@ -- [ ] Make sure Row.fetch(...).map { row in ... } works +- [ ] Make sure Row.fetch(...).map { row in ... } works (actually it does already work, but I'm not sure it is tested). - [ ] Swift 3.0.2 (Xcode 8.2): "Type inference will properly unwrap optionals when used with generics and implicitly-unwrapped optionals." Maybe this fixes `row.value(named: "foo") as? Int`? - [ ] Refactor Database notion of transaction/savepoints into a single type. Support INSERT OR ROLLBACK. - Since some statements may implicitly rollback transactions, we can not rely on explicit rollback statements to infer the transaction state. We can only rely on sqlite3_rollback_hook, assuming it is called even for implicit rollbacks (test with an INSERT OR ROLLBACK statement).