Skip to content

Initializer

init(prefix:keyDecodingStrategy:userInfo:)

Create a configured SQLRowDecoder.
init(prefix: String? = nil, keyDecodingStrategy: SQLRowDecoder.KeyDecodingStrategy = .useDefaultKeys, userInfo: [CodingUserInfoKey : any Sendable] = [:])

Parameters

prefix

The key prefix to use for column names. See prefix for details.

keyDecodingStrategy

The strategy to use for translating column names to keys. See keyDecodingStrategy for details.

userInfo

Key-value pairs to provide as user info to the underlying decoder.