Queues a statement whose parameters are already text. types are the parameter OIDs to declare
(0, or fewer than values, leaves the rest to the server).
- p: the pipeline from
pipeline_enter. - sql: one statement.
- types: the parameter type OIDs.
- values: the parameters in text format,
$1first. - result_format: the format of the returned rows.
pipeline_query_text :: (
p: *Pipeline,
sql: string,
types: [] u32,
values: [] string,
result_format := Format.TEXT
) -> Pg_Error
Queues a statement whose parameters are already text. types are the parameter OIDs to declare
(0, or fewer than values, leaves the rest to the server).
Parameters
- p: *Pipeline
- the pipeline from
pipeline_enter. - sql: string
- one statement.
- types: [] u32
- the parameter type OIDs.
- values: [] string
- the parameters in text format,
$1first. - result_format := Format.TEXT
- the format of the returned rows.