mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-26 04:07:50 +00:00
README.md
This commit is contained in:
1 parent
55a291b969
commit
1e9b049d98
1 file changed
+1
-1
@@ -166,7 +166,7 @@ let bookCount64: Int64 = row.value(named: "bookCount")!
|
||||
let hasBooks: Bool = row.value(named: "bookCount")! // false when 0
|
||||
```
|
||||
|
||||
**WARNING**: type casting requires a very careful use of the `as` operator (see rdar://problem/21676393):
|
||||
**WARNING**: type casting requires a very careful use of the `as` operator (see [rdar://problem/21676393](http://openradar.appspot.com/radar?id=4951414862249984)):
|
||||
|
||||
```swift
|
||||
row.value(named: "bookCount") as Int? // good
|
||||
|
||||
Reference in new issue
Block a user