mapreduce output without creating collection

yang shared this question 6 years ago
Answered

Is it possible to run mapReduce to output the result without creating collection?

I tried {out: { inline: 1 }, but not work.

Or any other ways?

Replies (2)

photo
1

I do not know if there are other options.


Please note, The inline result must fit within the maximum size of a BSON document. And, this option is the only available option for out on secondary members of replica sets.

photo
1

mistake, sorry

Leave a Comment
 
Attach a file