This commit is contained in:
Gwendal Roué committed 2016-09-16 22:23:48 +02:00
1 parent 2fc35e2543
commit b8005deaa4
1 file changed
+1 -1
+1 -1
View File
@@ -779,7 +779,7 @@ This turns out useful when you have to process untrusted databases. Compare:
```swift
let row = Row.fetchOne(db, "SELECT 'Mom’s birthday'")!
let date: Date? = row.value(atIndex: 0) // fatal error: could not convert "Mom’s birthday" to Date.
let date = Date.Date.fromDatabaseValue(row.value(atIndex: 0)) // nil
let date = Date.fromDatabaseValue(row.value(atIndex: 0)) // nil
```