Skip to content

Protocol

PostgresDecodable

A type that can decode itself from a Postgres wire binary representation.
protocol PostgresDecodable

Overview

If you want to conform a type to PostgresDecodable, you must implement the decode method.

Topics

Initializers

Relationships

Inherited By

Conforming Types

See Also

Decoding

  • PostgresArrayDecodable
    A type that can be decoded into a Swift Array of its own type from a Postgres array.
  • PostgresRangeDecodable
    A type that can be decoded into a Swift RangeExpression type from a Postgres range where it is the bound type.
  • PostgresRangeArrayDecodable
    A type that can be decoded into a Swift RangeExpression array type from a Postgres range array where it is the bound type.
  • PostgresDecodingContext
    A context that is passed to Swift objects that are decoded from the Postgres wire format. Used to pass further information to the decoding method.