Instance Method
decode(_:from:)
Convert the given
MySQLData into a value of type T, if possible.func decode<T>(_ type: T.Type, from data: MySQLData) throws -> T where T : Decodable
Parameters
typeThe desired result type.
dataThe data to decode.
Return Value
The decoded value, if successful.