Functions: Array Function - Union, Difference, Intersection on Arrays
complete
William Martin
I'm trying to implement a simple sync. Gather some records from one data source and ensure a receiving data source has the same information, but without deleting all the records in the recipient. This would involve requests to both data sources, resolving the records to create, update, delete, then performing those operations.
Log In
Tereza Klobouckova
updated the status to
complete
Great news—arrayDiff() and arrayIntersect() have officially landed in Make!
You can now easily compare arrays directly in the mapping panel without extra iterator or filter modules:
- Use arrayDiff(array1; array2) to find unique items in the first array.
- Use arrayIntersect(array1; array2) to find matching items between both arrays.
You’ll find both ready to use under the Array functions tab.
Thanks to everyone who upvoted this request!