Prepares a named statement. types are the parameter OIDs to declare.
- p: the pipeline from
pipeline_enter. - name: the statement's name.
- sql: one statement.
- types: the parameter type OIDs.
pipeline_prepare :: (
p: *Pipeline,
name: string,
sql: string,
types: [] u32 = .[]
) -> Pg_Error
Prepares a named statement. types are the parameter OIDs to declare.
Parameters
- p: *Pipeline
- the pipeline from
pipeline_enter. - name: string
- the statement's name.
- sql: string
- one statement.
- types: [] u32
- the parameter type OIDs.