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
示例#1
0
文件: Stage.php 项目: alcaeus/mongodb
 /**
  * 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();
 }