Instance Method
all(decoding:prefix:keyDecodingStrategy:userInfo:)
Configure a new
SQLRowDecoder as specified and use it to decode and return the output rows, if any, as a given type.func all<D>(decoding type: D.Type, prefix: String? = nil, keyDecodingStrategy: SQLRowDecoder.KeyDecodingStrategy = .useDefaultKeys, userInfo: [CodingUserInfoKey : any Sendable] = [:]) -> EventLoopFuture<[D]> where D : Decodable, D : SendableMetatype
Parameters
typeThe type of the desired values.
prefixSee
prefix.keyDecodingStrategySee
keyDecodingStrategy.userInfoSee
userInfo.
Return Value
A future containing the decoded values, if any.