Structure
PostgresMessage.Bind
Identifies the message as a Bind command.
struct Bind
Topics
Structures
Instance Properties
var description: Stringvar parameterFormatCodes: [PostgresFormat]The number of parameter format codes that follow (denoted C below). This can be zero to indicate that there are no parameters or that the parameters all use the default format (text); or one, in which case the specified format code is applied to all parameters; or it can equal the actual number of parameters. The parameter format codes. Each must presently be zero (text) or one (binary).var parameters: [PostgresMessage.Bind.Parameter]The number of parameter values that follow (possibly zero). This must match the number of parameters needed by the query.var portalName: StringThe name of the destination portal (an empty string selects the unnamed portal).var resultFormatCodes: [PostgresFormat]The number of result-column format codes that follow (denoted R below). This can be zero to indicate that there are no result columns or that the result columns should all use the default format (text); or one, in which case the specified format code is applied to all result columns (if any); or it can equal the actual number of result columns of the query.var statementName: StringThe name of the source prepared statement (an empty string selects the unnamed prepared statement).
Instance Methods
func serialize(into: inout ByteBuffer)Serializes this message into a byte buffer.