Structure
PostgresBinaryCopyFromWriter
Handle to send binary data for a
COPY ... FROM STDIN query to the backend.struct PostgresBinaryCopyFromWriter
Overview
It takes care of serializing PostgresEncodable column types into the binary format that Postgres expects.
Topics
Structures
struct ColumnWriterHandle to serialize columns into a row that is being written byPostgresBinaryCopyFromWriter.
Instance Methods
func writeRow<Result>((inout PostgresBinaryCopyFromWriter.ColumnWriter) throws -> Result) async throws -> ResultSerialize a single row to the backend. CallwriteColumn(_:)for every column that should be included in the row.