mongodb/node-mongodb-native — pull request #1016 by rcotter (2013-06-24 18:30:42+00:00)
Title: Map reduce has incorrect expectations of 'inline' value for 'out' option

What looks to be a long standing but unnoticed bug was recently exposed by recent commit [bb3816f85526b053ae36966ccd21acc889217d19](https://github.com/rcotter/node-mongodb-native/commit/bb3816f85526b053ae36966ccd21acc889217d19#L0L1230)

As per docs (in [code](https://github.com/rcotter/node-mongodb-native/blob/b3649d2d8c66b4d7f13633b5c55cd653876dbf94/lib/mongodb/collection.js#L1157) and at [10gen](http://docs.mongodb.org/manual/reference/method/db.collection.mapReduce/#output-inline)) the 'out' option for mapreduce should be {inline:1}, not 'inline'.