Skip to main content

execute_set

Function execute_set 

Source
pub fn execute_set(
    source_records: Vec<Record>,
    items: &[SetItem],
    engine: &mut StorageEngine,
    params: &Params,
    scalar_fns: &dyn ScalarFnLookup,
    trigger_fns: &dyn TriggerLookup,
) -> Result<Vec<Record>, ExecutionError>
Expand description

Set properties on nodes/edges. For each SetItem::Property { target, value }, evaluate target to get the entity, and value to get the new property value.