Skip to main content

row_damage_vector

Function row_damage_vector 

Source
pub fn row_damage_vector(
    old_fields: &[(String, Value)],
    new_fields: &[(String, Value)],
) -> RowDamageVector
Expand description

Compute the damage-vector between an old and new row snapshot. Both inputs are field lists (as carried by CreateRowInput and AppliedEntityMutation.pre_mutation_fields); the order of fields is not significant. Columns present in both sides with identical values don’t appear in any bucket.