Skip to content

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

Instance Methods

  • decode(_:from:)
    Convert the given SQLiteData into a value of type T, if possible.

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype