indexStats() public method

Returns statistics regarding the use of each index for the collection.
See also: https://docs.mongodb.org/manual/reference/operator/aggregation/indexStats/
public indexStats ( ) : Doctrine\MongoDB\Aggregation\Stage\IndexStats
return Doctrine\MongoDB\Aggregation\Stage\IndexStats
Beispiel #1
0
 /**
  * Returns statistics regarding the use of each index for the collection.
  *
  * @see https://docs.mongodb.org/manual/reference/operator/aggregation/indexStats/
  *
  * @return Stage\IndexStats
  */
 public function indexStats()
 {
     return $this->builder->indexStats();
 }