explain() public method

Return an explanation of the query, often useful for optimization and debugging
public explain ( ) : array
return array Returns an explanation of the query.
Esempio n. 1
0
 /**
  * Return an explanation of the query, often useful for optimization and debugging
  * @link http://www.php.net/manual/en/mongocursor.explain.php
  * @return array Returns an explanation of the query.
  */
 public function explain()
 {
     return $this->cursor->explain();
 }
Esempio n. 2
0
 /**
  * 解释该查询
  * @return Array
  */
 public function explain()
 {
     return $this->oMongoCursor->explain();
 }