PHP Class yii\mongodb\debug\ExplainAction

Since: 2.0.5
Author: Sergey Smirnov ([email protected])
Inheritance: extends yii\base\Action
Show file Open project: yiisoft/yii2-mongodb

Public Properties

Property Type Description
$panel related debug toolbar panel

Public Methods

Method Description
run ( integer $seq, string $tag ) : string Runs the explain action

Protected Methods

Method Description
explainQuery ( string $queryString ) : array | false Runs explain command over the query

Private Methods

Method Description
prepareQueryFiler ( array $query ) : array | string Prepare query filer for explain.

Method Details

explainQuery() protected method

Runs explain command over the query
protected explainQuery ( string $queryString ) : array | false
$queryString string query log string.
return array | false explain results, `false` on failure.

run() public method

Runs the explain action
public run ( integer $seq, string $tag ) : string
$seq integer
$tag string
return string explain result content

Property Details

$panel public property

related debug toolbar panel
public $panel