Structure
MySQLDataDecoder
Translates
MySQLData values received from the database into Decodable values.struct MySQLDataDecoder
Overview
Types which conform to MySQLDataConvertible are converted directly to the requested type. For other types, an attempt is made to interpret the database value as JSON and decode the type from it.
Topics
Initializers
init(json:)Initialize aMySQLDataDecoderwith a JSON decoder.
Instance Methods
decode(_:from:)Convert the givenMySQLDatainto a value of typeT, if possible.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype