README.md

This commit is contained in:
Gwendal Roué committed 2015-12-10 22:48:18 +01:00
1 parent 164ad16328
commit 2aa64bb2cd
1 file changed
+1
+1
View File
@@ -427,6 +427,7 @@ You may prefer thinking of rows as dictionaries of `DatabaseValue`, an intermedi
```swift
// Test if the column `date` is present:
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