I think I'm slightly incorrect, it goes search res...
# suitescript
g
I think I'm slightly incorrect, it goes search results (bulk) -> map (1 line from search results at a time), which will then go on to be that 1 for reduce, and summarize, right?
e
Your map stage will process each result from the search. You'll need to write to the context if you want to process data from map to reduce.
There's examples in the docs that explain it. (You could skip
map
and use
reduce
instead.)
g
Cheers ehcanadian 🙂