mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-27 04:14:21 +00:00
README.md
This commit is contained in:
1 parent
9d24e0d5ca
commit
9391cf9d26
1 file changed
+1
-1
@@ -357,7 +357,7 @@ You may prefer thinking of rows as dictionaries of `DatabaseValue`, an intermedi
|
||||
if let databaseValue = row["date"] {
|
||||
// Pick the type you need:
|
||||
let dateString: String = databaseValue.value() // "2015-09-11 18:14:15.123"
|
||||
let date: NSDate = databaseValue.value() // NSDate
|
||||
let date: NSDate = databaseValue.value() // NSDate
|
||||
self.date = databaseValue.value() // Depends on the type of the property.
|
||||
}
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user