Dani
05/05/2023, 12:09 AMDani
05/05/2023, 12:11 AMcontext.write({
success: true,
message: 'Record ' + recordId + ' updated successfully'
});
and don't have a reduce stage (i've tried using the reduce stage too to pass the context along) and can't seem to get anything in the summary contextDani
05/05/2023, 12:11 AM{
type: "mapreduce.Summary",
dateCreated: "2023-05-04T23:03:21.325Z",
seconds: 11,
usage: 20,
concurrency: 1,
yields: 0
}
Anthony OConnor
05/05/2023, 12:50 AMehcanadian
05/05/2023, 2:27 AMsummaryContext.output.iterator().each((key, value) => {
log.debug('key', key);
log.debug('value', value);
return true;
});
Dani
05/05/2023, 2:27 AMDani
05/05/2023, 3:24 PM