Postgres module

queue_execute

procedure · 1 overloadsince 0.27.0Source

execute on a pipeline: take gives the count of rows the statement changed.

queue_execute :: (
    p: *Pipeline,
    $sql: string,
    args: ..Any,
    $call := #caller_code
) -> (Pending(s64), Pg_Error)

execute on a pipeline: take gives the count of rows the statement changed.

Parameters

p: *Pipeline
the pipeline to queue on.
$sql: string
the statement, as for execute.
args: ..Any
one value per %, in order.
$call := #caller_code
the code of the call, which lets the query text be checked while compiling. Leave the default.

Returns

Pending(s64)

See also