canBeExplained() public static method Check if given query type can be explained. public static boolean canBeExplained ( $type )$type string Query type
$summaryName public read-only property Short name of the panel, which will be use in summary. public string getSummaryName ( )
$profileLogs public read-only property public array getProfileLogs ( )
$name public read-only property Name of the panel public string getName ( )
$db public read-only property The name of the database component to use for executing (explain) queries The name of the database component to use for executing (explain) queries public yii\db\Connection getDb ( )
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
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.
$panel public property Related debug toolbar panel public yii\mongodb\debug\MongoDbPanel $panel = null
selectFileCollection() protected method Selects GridFS collection with given prefix. protected yii\mongodb\file\Collection selectFileCollection ( $prefix )$prefix string File collection prefix. return yii\mongodb\file\Collection File collection instance.
selectCollection() protected method Selects collection with given name. protected yii\mongodb\Collection selectCollection ( $name )$name string Collection name. return yii\mongodb\Collection Collection instance.
Page 220 of 633