mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-28 04:24:20 +00:00
Documentation
This commit is contained in:
1 parent
a71e08ad2a
commit
27b9cbda38
1 file changed
+2
-3
@@ -1082,9 +1082,8 @@ row.value(atIndex: 0) as Grape? // fatal error: could not convert "Syrah" to Gr
|
||||
row.value(atIndex: 0) as Grape // fatal error: could not convert "Syrah" to Grape.
|
||||
|
||||
let dbv = row.databaseValue(atIndex: 0)
|
||||
dbv.value() as String // "Syrah"
|
||||
dbv.value() as Grape? // fatal error: could not convert "Syrah" to Grape.
|
||||
Grape.fromDatabaseValue(dbv) // nil
|
||||
String.fromDatabaseValue(dbv) // "Syrah"
|
||||
Grape.fromDatabaseValue(dbv) // nil
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user