Enumeration
SQLRowDecoder.KeyDecodingStrategy
A strategy describing how to transform column names in a row to match the expectations of decoded type(s).
enum KeyDecodingStrategy
Topics
Enumeration Cases
SQLRowDecoder.KeyDecodingStrategy.convertFromSnakeCaseConvert fromsnake_case_keystocamelCaseKeysbefore attempting to match a key with the one specified by each type.SQLRowDecoder.KeyDecodingStrategy.custom(_:)Perform a user-specified conversion between keys in a query result row and theCodingKeys used by the decoded model type.SQLRowDecoder.KeyDecodingStrategy.useDefaultKeysUse the keys specified by each type. This is the default strategy.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype