Instance Method
run(decoding:_:)
Using a default-configured
SQLRowDecoder, call the provided handler closure with the result of decoding each output row, if any, as a given type.@preconcurrency func run<D>(decoding type: D.Type, _ handler: @escaping @Sendable (Result<D, any Error>) -> ()) -> EventLoopFuture<Void> where D : Decodable, D : SendableMetatype
Parameters
typeThe type of the desired values.
handlerA closure which receives the result of each decoding operation, row by row.
Return Value
A completion future.