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