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
init(from:type:format:context:)Create an entity from thebufferin Postgres wire format.
Relationships
Inherited By
Conforming Types
See Also
Decoding
PostgresArrayDecodableA type that can be decoded into a Swift Array of its own type from a Postgres array.PostgresRangeDecodableA type that can be decoded into a Swift RangeExpression type from a Postgres range where it is the bound type.PostgresRangeArrayDecodableA type that can be decoded into a Swift RangeExpression array type from a Postgres range array where it is the bound type.PostgresDecodingContextA context that is passed to Swift objects that are decoded from the Postgres wire format. Used to pass further information to the decoding method.