Skip to content

Enumeration

SQLiteData

Encapsulates a single data item provided by or to SQLite.
enum SQLiteData

Overview

SQLite supports four data type “affinities” - INTEGER, REAL, TEXT, and BLOB - plus the NULL value, which has no innate affinity.

Topics

Structures

Enumeration Cases

Instance Properties

  • blob
    Returns the data as a blob, if it has BLOB affinity.
  • bool
    Returns the boolean value of the data, where possible.
  • description
    A textual representation of this instance.
  • double
    Returns the real number value of the data, performing conversions where possible.
  • integer
    Returns the integer value of the data, performing conversions where possible.
  • isNull
    true if the value is NULL, false otherwise.
  • string
    Returns the textual value of the data, performing conversions where possible.

Instance Methods

  • encode(to:)
    Encodes this value into the given encoder.

Relationships

Conforms To

  • Swift.CustomStringConvertible
  • Swift.Encodable
  • Swift.Equatable
  • Swift.Sendable
  • Swift.SendableMetatype