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
781a2eed89
commit
080c73e005
1 file changed
+2
-2
@@ -309,8 +309,8 @@ let bookCount: Int = row.value(named: "bookCount")
|
||||
let bookCount64: Int64 = row.value(named: "bookCount")
|
||||
let hasBooks: Bool = row.value(named: "bookCount") // false when 0
|
||||
|
||||
let dateString: String = row.value(named: "date") // "2015-09-11 18:14:15.123"
|
||||
let date: NSDate = row.value(named: "date") // NSDate
|
||||
let dateString: String = row.value(named: "date") // "2015-09-11 18:14:15.123"
|
||||
let date: NSDate = row.value(named: "date") // NSDate
|
||||
```
|
||||
|
||||
You can also use the `as` type casting operator:
|
||||
|
||||
Reference in new issue
Block a user