MongoDB\MapReduceResult Class
版本 1.2 中的新增内容。
定义
MongoDB\MapReduceResult
This 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.