Skip to main content

build_update_sql

Function build_update_sql 

Source
pub fn build_update_sql(
    entity: &str,
    id: &str,
    data: &Value,
) -> Result<(String, Vec<String>), StorageError>
Expand description

Build an UPDATE SQL statement and collect string parameter values. Returns (sql, values) where values[0] is the row ID.