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