Skip to main content

ensured_existing_row

Function ensured_existing_row 

Source
fn ensured_existing_row(
    store: &LogicalStore,
    entity: &str,
    unique_key: &[String],
    values: &BTreeMap<String, WriteValue>,
    steps: &mut Vec<Mutation>,
) -> Result<Option<Map<String, Value>>, FeatureRuntimeError>
Expand description

Captures an ensured row through the interface and guards its snapshot before writes.