Structure
MySQLDataEncoder
Translates
Encodable values into MySQLData values suitable for use with a MySQLDatabase.struct MySQLDataEncoder
Overview
Types which conform to MySQLDataConvertible are converted directly to MySQLData. Other types are encoded as JSON and sent to the database as text.
Topics
Initializers
init(json:)Initialize aMySQLDataEncoderwith a JSON encoder.
Instance Methods
encode(_:)Convert the givenEncodablevalue to aMySQLDatavalue, if possible.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype