Skip to main content

prepare_compiled_postgres

Function prepare_compiled_postgres 

Source
pub fn prepare_compiled_postgres(
    compiled: &CompiledQuery,
) -> Result<(String, Vec<Value>)>
Expand description

Normalize compiled query for Postgres execution ($1, $2, … placeholders).

§Errors

Returns Error::Internal when the compiled query is not read-only.