In a Map/Reduce script what is the most recommende...
# suitescript
n
In a Map/Reduce script what is the most recommended approach to continue or skip an iteration within the map (or reduce for that matter) stage such that it continues or skips a given search result or array index, without returning completely out of the script execution? In other words it continues to invoke the map (or reduce stage) for the rest of the dataset
b
Return early
s
Did you try to just
return
in that iteration? Each invocation is its own entry point
n
for some reason I thought a simple return would just quit out of the script execution as a whole. Did not think it would be that simple lol