Skip to main content

substitute_params

Function substitute_params 

Source
pub fn substitute_params(
    stmt: &mut Statement,
    params: &HashMap<String, PropertyValue>,
) -> Result<(), QueryError>
Expand description

Resolves every $name placeholder in stmt to a concrete Literal using params, in place. Called before execution so the executor never sees Literal::Param — see the unreachable! in executor::literal_to_value.