Updating a statement to return the string value for conforming to CustomStringConvertible for new database types
This commit is contained in:
parent
aaf2e00774
commit
e89694e24b
|
@ -64,7 +64,8 @@ open class StORM : StORMMirror {
|
|||
case is [String:Any]?.Type:
|
||||
return try! (v as! [String:Any]).jsonEncodedString()
|
||||
default:
|
||||
return v
|
||||
// Here we will support new database types by returning what we need conforming to CustomStringConvertable.
|
||||
return String(describing: v)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue