Skip to main content

bind_names_per_occurrence

Function bind_names_per_occurrence 

Source
pub fn bind_names_per_occurrence(statement: &str) -> Result<Vec<String>>
Expand description

Returns one bind-name entry per placeholder occurrence for non-PL/SQL SQL, and the unique names for PL/SQL, mirroring the reference _add_bind (impl/thin/statement.pyx:337-354): PL/SQL coalesces duplicate placeholders into a single bind, whereas plain SQL binds each occurrence separately so a repeated placeholder consumes one positional value per occurrence.