PostgresNIO Documentation

Structure Postgres​Message.​Simple​Query

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

Identifies the message as a simple query.

%169 PostgresMessage.SimpleQuery PostgresMessage.SimpleQuery PostgresMessageType PostgresMessageType PostgresMessage.SimpleQuery->PostgresMessageType

Member Of

PostgresMessage

A frontend or backend Postgres message.

Conforms To

PostgresMessageType

Properties

identifier

public static var identifier: PostgresMessage.Identifier  

string

public var string: String

The query string itself.

Methods

serialize(into:​)

public func serialize(into buffer: inout ByteBuffer)  

Serializes this message into a byte buffer.