Skip to main content

build_inlined_sql

Function build_inlined_sql 

pub fn build_inlined_sql(src: &str, min_revs: u32) -> String
Expand description

Returns the revisions SQL with ? placeholders inlined and the source table swapped in. Used by the Parquet writer (DuckDB COPY can’t accept bind parameters). Sharing the formula with the live run_revisions path eliminates silent-drift risk.