Postgres module

put_bind

procedure · 1 overloadsince 0.27.0Source

Parameters go as text unless one needs another format; the format codes are left out when every parameter is text.

put_bind :: (
    c: *Connection,
    portal: string,
    statement: string,
    params: [] Param,
    result_format: Format
)

Parameters go as text unless one needs another format; the format codes are left out when every parameter is text.

Parameters

c: *Connection
the connection whose output buffer gets the message.
portal: string
the portal to create; empty for the unnamed one.
statement: string
the prepared statement to bind; empty for the unnamed one.
params: [] Param
the parameter values with their formats.
result_format: Format
the format for every result column.

See also