Class yii\mongodb\debug\ExplainAction

Inheritanceyii\mongodb\debug\ExplainAction » yii\base\Action
Available since version2.0.5

ExplainAction provides EXPLAIN information for MongoDB queries

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$panel yii\mongodb\debug\MongoDbPanel Related debug toolbar panel yii\mongodb\debug\ExplainAction

Public Methods

Hide inherited methods

MethodDescriptionDefined By
run() Runs the explain action yii\mongodb\debug\ExplainAction

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
explainQuery() Runs explain command over the query yii\mongodb\debug\ExplainAction

Property Details

$panel public property

Related debug toolbar panel

Method Details

explainQuery() protected method

Runs explain command over the query

protected array|false explainQuery ( $queryString )
$queryString string

Query log string.

return array|false

Explain results, false on failure.

run() public method

Runs the explain action

public string run ( $seq, $tag )
$seq integer
$tag string
return string

Explain result content

throws \yii\web\HttpException

if requested log not found