Skip to main content

bind_dsl

Function bind_dsl 

Source
pub fn bind_dsl(sql: &str, params: &[ParamValue]) -> Result<BoundDslSql>
Expand description

Substitute $N placeholders in DSL SQL text with concrete literals.

Uses sqlparser’s own tokenizer so that string literals, quoted identifiers, comments, and dollar-quoted strings are never accidentally rewritten — the tokenizer has already classified them.