Instance Method
first(decoding:with:)
Using the given
SQLRowDecoder, returns the first output row, if any, decoded as a given type.func first<D>(decoding type: D.Type, with decoder: SQLRowDecoder) -> EventLoopFuture<D?> where D : Decodable, D : SendableMetatype
Parameters
typeThe type of the desired value.
decoderA configured
SQLRowDecoderto use.
Return Value
A future containing the decoded value, if any.