BindMessage

internal class BindMessage(portalName: String, statementName: String, parameterCount: Int, parameterValues: ByteArray, parameterFormats: List<Int>, resultFormats: List<Int> = listOf(1), parameterValuesLength: Int = parameterValues.size) : FrontendMessage

Message sent to the backend to bind a prepared statement to a portal.

Constructors

Link copied to clipboard
constructor(portalName: String, statementName: String, parameterCount: Int, parameterValues: ByteArray, parameterFormats: List<Int>, resultFormats: List<Int> = listOf(1), parameterValuesLength: Int = parameterValues.size)

Functions

Link copied to clipboard
open override fun encode(out: PgOutputStream)

Writes the entire message frame to the stream (including type marker and length).