Merge the properties of two arrays together and select which items from the second array merge with which items from the first array.
This node can be useful to merge one property with one value into a larger array composed of many items. See example below.
Properties
Insertion Mode: Choose how the merge should occur.
Default : By ID
Choices are:- By Index: Overwrites IDs of array 2 with those of array 1 for each matching index. Any index in array 2 that is not present in array 1 is dropped.
- By ID: All matching IDs are merged as a same item. Appends to the end of Array 1 any ID from Array 2 not found in Array 1.
- By Matching ID: Matches each ID from the second array to its corresponding ID in the first array as the same item. Any ID from Array 1 not present in Array 2 will remain in the array but with no value in any properties from Array 2. Any ID from Array 2 not present in Array 1 will be dropped.
Inputs
| Name | Type | Description |
|---|---|---|
| Array1 | Array | First array for the merge |
| Array2 | Array | Second array for the merge |
Outputs
| Name | Type | Description |
|---|---|---|
| Array | Array | Resulting array from the merge of the two input arrays |
Example
Merging one value into a large array of values
Need more help with this?
Don’t hesitate to contact us here.





