Instance Method
decode(_:from:)
Decode a value of type
T from the given SQLRow.func decode<T>(_ type: T.Type, from row: some SQLRow) throws -> T where T : Decodable
Parameters
typeThe type to decode.
rowThe row containing the data to decode.
Return Value
An instance of type decoded from row.
Discussion
Throws
Any error which occurs during the decoding process.