PSQLConnection.putBindMessage

Put Bind message into write buffer.

'formatCodes' - input range of FormatCodes. quotes: 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). parameters is input range of deserialization delegates.

'parameters' - input range of serializeler closures. Actual data should be self-contained in this parameter. Marshaller is a callable that is covariant with "int delegate(ubyte[] buf)" and returns -2 if buf is too small, -1 if parameter is null and an actual number of bytes written otherwise.

'resultFormatCodes' - input range of query result FormatCodes. quotes:

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. The result-column format codes. Each must presently be zero (text) or one (binary).

  1. void putBindMessage(string portal, string prepared, scope FR formatCodes, scope PR parameters, scope RR resultFormatCodes)
    class PSQLConnection(SocketT = StdSocket, alias logTrace = nop_logger, alias logError = nop_logger)
    final
    void
    putBindMessage
    pure @safe
    (
    FR
    PR
    RR
    )
    (
    string portal
    ,
    string prepared
    ,
    scope FR formatCodes
    ,
    scope PR parameters
    ,
    )
  2. void putBindMessage(string portal, string prepared, scope RR resultFormatCodes)
  3. void putBindMessage(string portal, string prepared, scope const(const(ubyte)[])[] rawChunks)

Meta