Skip to content

Instance Method

all(decoding:with:)

Using the given SQLRowDecoder, returns the output rows, if any, decoded as a given type.
func all<D>(decoding type: D.Type, with decoder: SQLRowDecoder) -> EventLoopFuture<[D]> where D : Decodable, D : SendableMetatype

Parameters

type

The type of the desired values.

decoder

A configured SQLRowDecoder to use.

Return Value

A future containing the decoded values, if any.