Contents

decoded(_:using:)

Decodes data for each element of the column.

Declaration

func decoded<T, Decoder>(_ type: T.Type, using decoder: Decoder) throws -> AnyColumn where T : Decodable, Decoder : TopLevelDecoder

Parameters

  • type:

    The type of the value to decode.

  • decoder:

    A decoder that accepts the column elements’ type.

Return Value

A new column of decoded values.

Discussion

See Also

Decoding a Column