explain() public method
Return an explanation of the query, often useful for optimization and debugging.
public array explain ( $collectionName, $query ) | ||
---|---|---|
$collectionName | string |
Collection name |
$query | array |
Query document. |
return | array |
Explanation of the query. |
Please login to continue.