Yeah I pretty much love the `var myData = getAllRe...
# suitescript
e
Yeah I pretty much love the
var myData = getAllResults(mySearch).map(resultToObject);
approach in basically every scenario
s
might consider adding lazy evaluation rather than loading all (say 50,000) results at once into memory, then making another copy of (50,000) with the map().