Skip to content

Protocol

PostgresDynamicTypeEncodable

A type that can encode itself to a Postgres wire binary representation. Dynamic types are types that don’t have a well-known Postgres type OID at compile time. For example, custom types created at runtime, such as enums, or extension types whose OID is not stable between databases.
protocol PostgresDynamicTypeEncodable : PostgresThrowingDynamicTypeEncodable

Overview

This is the non-throwing alternative to PostgresThrowingDynamicTypeEncodable. It allows users to create PostgresQuerys via ExpressibleByStringInterpolation without having to spell try.

Topics

Instance Methods

Relationships

Inherits From

Inherited By

Conforming Types

See Also

Encoding