Structure
SQLiteDataDecoder
Translates
SQLiteData values received from the database into Decodable values.struct SQLiteDataDecoder
Overview
Types which conform to SQLiteDataConvertible 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()Initialize aSQLiteDataDecoderwith an unconfigured JSON decoder.init(json:)Initialize aSQLiteDataDecoderwith a JSON decoder.
Instance Methods
decode(_:from:)Convert the givenSQLiteDatainto a value of typeT, if possible.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype