Troubleshoot the Map Function
To verify the
value pairs emitted by the
map function, write your own
Consider a collection
orders that contains documents of the following prototype:
mapfunction that maps the
cust_idfor each document and emits the
emitfunction to print the key and value:
mapfunction with a single document from the
Verify the key and value pair is as you expected.
mapfunction with multiple documents from the
Verify the key and value pairs are as you expected.