You are viewing an offline version of MongoDB documentation. Some page features might be unavailable. To view the latest version of the page or use interactive features, visit the live page.
MongoDB\MapReduceResult Class
New in version 1.2.
Definition
MongoDB\MapReduceResultThis class extends PHP's IteratorAggregate interface. An instance of this class is returned by
MongoDB\Collection::mapReduce().This class allows for iteration of map-reduce results irrespective of the output method (e.g. inline, collection). It also provides access to command statistics.