Skip to content

Instance Method

all(decoding:)

Using a default-configured SQLRowDecoder, returns all output rows, if any, decoded as a given type.
func all<Model>(decoding: Model.Type) async throws -> [Model] where Model : Model

Parameters

type

The type of the desired values.

Return Value

The decoded values, if any.