Skip to content

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

Instance Methods

  • encode(_:)
    Convert the given Encodable value to an SQLiteData value, if possible.

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype