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<D>(decoding type: D.Type) -> EventLoopFuture<[D]> where D : Decodable, D : SendableMetatype

Parameters

type

The type of the desired values.

Return Value

A future containing the decoded values, if any.

See Also

Legacy `EventLoopFuture` Interfaces