PostgresNIO Documentation

Structure Postgres​Message.​Command​Complete

@available(*, deprecated, message: "Will be removed from public API")
    public struct CommandComplete: PostgresMessageType  

Identifies the message as a Close command.

%67 PostgresMessage.CommandComplete PostgresMessage.CommandComplete PostgresMessageType PostgresMessageType PostgresMessage.CommandComplete->PostgresMessageType

Member Of

PostgresMessage

A frontend or backend Postgres message.

Conforms To

PostgresMessageType

Properties

tag

public var tag: String

The command tag. This is usually a single word that identifies which SQL command was completed.

Methods

parse(from:​)

public static func parse(from buffer: inout ByteBuffer) throws -> CommandComplete  

Parses an instance of this message type from a byte buffer.