Structure
SQLiteDataEncoder
Translates
Encodable values into SQLiteData values suitable for use with an SQLiteDatabase.struct SQLiteDataEncoder
Overview
Types which conform to SQLiteDataConvertible are converted directly to SQLiteData. Other types are encoded as JSON and sent to the database as text.
Topics
Initializers
init()Initialize aSQLiteDataEncoderwith an unconfigured JSON encoder.init(json:)Initialize aSQLiteDataEncoderwith a JSON encoder.
Instance Methods
encode(_:)Convert the givenEncodablevalue to anSQLiteDatavalue, if possible.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype