mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
Fix typo
This commit is contained in:
1 parent
2fc35e2543
commit
b8005deaa4
1 file changed
+1
-1
@@ -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
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user