Rindle docs and package mapSkip to main content

build_mutation_sql

Function build_mutation_sql 

pub fn build_mutation_sql(
    columns: &[String],
    pk: &[usize],
    m: &Mutation,
) -> Result<(String, Vec<OwnedValue>), ReplicaError>
Expand description

Build the SQL + bound params for one positional mutation against a table’s columns + PK column indices (the controlled writer is the same SQLite shape on every path).