mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
README.md
This commit is contained in:
1 parent
164ad16328
commit
2aa64bb2cd
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user