This commit is contained in:
Gwendal Roué committed 2018-07-05 08:38:56 +02:00
1 parent 16184ae89b
commit f8aa5b7e21
1 file changed
+1 -1
+1 -1
View File
@@ -919,7 +919,7 @@ Generally speaking, you can extract the type you need, *provided it can be conve
row[0] as UInt8 // fatal error: could not convert 256 to UInt8.
```
Those conversions fatal errors can be avoided with the [DatabaseValue](#databasevalue) type:
Those conversion fatal errors can be avoided with the [DatabaseValue](#databasevalue) type:
```swift
let row = try Row.fetchOne(db, "SELECT 'Mom’s birthday'")!