ANNOUNCEMENT: Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.
Learn more
Docs 菜单

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.