Structure
PostgresCopyFromFormat
Specifies the format in which data is transferred to the backend in a COPY operation.
struct PostgresCopyFromFormat
Overview
See the Postgres documentation at https://www.postgresql.org/docs/current/sql-copy.html for the options’ meanings and their default values.
Topics
Structures
struct BinaryOptionsOptions that can be used to modify thebinaryformat of a COPY operation.struct TextOptionsOptions that can be used to modify thetextformat of a COPY operation.
Type Methods
static func binary(PostgresCopyFromFormat.BinaryOptions) -> PostgresCopyFromFormatCopy data to Postgres in binary format.static func text(PostgresCopyFromFormat.TextOptions) -> PostgresCopyFromFormatCopy data to Postgres in text format, eg. separated by comma.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype