From 2cc6d17014fd25bd3c22bfbed0db9b6a3443ab18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 23 Apr 2016 08:00:48 +0200 Subject: [PATCH] README.md --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index 83bc5d414..2c93e4fef 100644 --- a/README.md +++ b/README.md @@ -2570,11 +2570,6 @@ let name: String = row.value(named: "name") // solution: fix the contents of the database, or load an optional: let name: String? = row.value(named: "name") -// fatal error: could not convert "0000-00-00 00:00:00" to NSDate. -let date: NSDate? = row.value(named: "date") -// solution: fix the contents of the database, or allow explicit data loss with failable conversion: -let date: NSDate? = row.databaseValue(named: "date").failableValue() - // fatal error: Database methods are not reentrant. dbQueue.inDatabase { db in dbQueue.inDatabase { db in