sort input objects using this key
max number of documents
keep temporary data default: false
scope variables exposed to map/reduce/finalize during execution
it is possible to make the execution stay in JS. Provided in MongoDB > 2.0.X default: false
provide statistics on job execution time. default: false
sets the output target for the map reduce job. default: {inline: 1}
the results are returned in an array
{replace: 'collectionName'} add the results to collectionName: the results replace the collection
{reduce: 'collectionName'} add the results to collectionName: if dups are detected, uses the reducer / finalize functions
{merge: 'collectionName'} add the results to collectionName: if dups exist the new docs overwrite the old
finalize function
Generated using TypeDoc
query filter object.