Selector Expressions (update Operator)
Use selector expressions with the update operator to specify the fields to update.
December 12, 2021 | Dataweave, Mule 4, Mulesoft | No comments
Keep Coding Keep Cheering!
Use selector expressions with the update operator to specify the fields to update.
December 12, 2021 | Dataweave, Mule 4, Mulesoft | No comments
Update Operator Examples
December 12, 2021 | Dataweave, Mule 4, Mulesoft | No comments
This operator is the one to use when you wish to change specific fields on an Object, while keeping all others the same.
December 12, 2021 | Dataweave, Mule 4, Mulesoft | No comments
The pluck operator is useful for mapping the object into the array, and it returns the array of values, keys, and indexes of the object.
December 2, 2021 | Dataweave, Mule 4, Mulesoft | No comments
We use mapObject when we want to change the keys and/or values on an Object to be something else.
December 1, 2021 | Dataweave, Mule 4, Mulesoft | No comments
The filterObjectoperator iterates over a list of key-value pairs in an object and applies an expression that returns only matching objects, filtering out the rest from the output. The expression must return true or false.
November 30, 2021 | Dataweave, Mule 4, Mulesoft | No comments
It processes both keys and values as a tuple.
November 30, 2021 | Dataweave, Mule 4, Mulesoft | No comments
Reduce function is used to do any computation while iterating on an array, so the computation result is not lost during iteration.
November 29, 2021 | Dataweave, Mule 4, Mulesoft | No comments
This function is useful for grouping together items in an array based on some value that is generated from each item in the array.
November 28, 2021 | Dataweave, Mule 4, Mulesoft | No comments
This function is useful for when you need to remove duplicate items from an Array.
November 28, 2021 | Dataweave, Mule 4, Mulesoft | No comments