- Reference >
- Result Classes >
- MongoDB\MapReduceResult::getExecutionTimeMS()
MongoDB\MapReduceResult::getExecutionTimeMS()
On this page
Definition
-
MongoDB\MapReduceResult::getExecutionTimeMS
Returns the execution time in milliseconds of the map-reduce operation.
Return Values
An integer denoting the execution time in milliseconds for the map-reduce operation.
Examples
This example reports the execution time for a map-reduce operation.
The output would then resemble:
See Also
MongoDB\Collection::mapReduce()
- mapReduce command reference in the MongoDB manual