Skip to main content

render_command

Function render_command 

Source
pub fn render_command(
    command: &str,
    params: &[PlanParam],
) -> Result<String, EngineError>
Expand description

Renders one command string by replacing semantic interpolation placeholders.

Supports \{\{ and \}\} escape sequences to produce literal {{ and }}.

Args: command: Raw command text from the execution plan. params: Bound plan parameters available to interpolation.

Returns: Rendered command text or an engine error when interpolation is invalid.