UpdateRecordArrayItemV2NodeConfiguration
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Transform
Configuration for the UpdateRecordArrayItem@2 node.
Updates several records of one RecordArray in a single pass: every item of the array at
UpdatesPath addresses one record (by the value at ItemMatchValuePath, relative to that
item) and carries the new attribute values (ValuePath relative to that item). The whole
modified array is written once to TargetPath. Updates whose key matches no record are skipped.
public record UpdateRecordArrayItemV2NodeConfiguration : SourceTargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<UpdateRecordArrayItemV2NodeConfiguration>
Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → SourceTargetPathNodeConfiguration → UpdateRecordArrayItemV2NodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IPathNodeConfiguration, IEquatable<SourceTargetPathNodeConfiguration>, IEquatable<UpdateRecordArrayItemV2NodeConfiguration>
Properties
UpdatesPath
JSONPath to the array of updates. Every item addresses one record of the array at Path.
Several items for the same record are applied in array order (last value wins per attribute).
public string UpdatesPath { get; set; }
Property Value
MatchAttributeName
Name of the record attribute to match against (e.g. "ExternalId"). The comparison is case-insensitive on the value; the attribute key may be PascalCase or camelCase in the stored record.
public string MatchAttributeName { get; set; }
Property Value
ItemMatchValuePath
JSONPath, relative to each update item (e.g. $.pollUuid), to the value that selects the record.
public string ItemMatchValuePath { get; set; }
Property Value
AttributeUpdates
Attribute updates applied to every addressed record. ValuePath is relative to the update
item; Value is a static value, =now() sets the current UTC time.
public ICollection<RecordAttributeUpdate> AttributeUpdates { get; set; }
Property Value
ICollection<RecordAttributeUpdate>
Path
public string Path { get; set; }
Property Value
TargetPath
public string TargetPath { get; set; }
Property Value
TargetValueWriteMode
public TargetValueWriteModes TargetValueWriteMode { get; set; }
Property Value
TargetValueWriteModes
TargetValueKind
public ValueKinds TargetValueKind { get; set; }
Property Value
ValueKinds
DocumentMode
public DocumentModes DocumentMode { get; set; }
Property Value
DocumentModes
Description
public string Description { get; set; }
Property Value
Constructors
UpdateRecordArrayItemV2NodeConfiguration()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public UpdateRecordArrayItemV2NodeConfiguration()