listIndexes() public method
Returns information about current collection indexes.
| public array listIndexes ( $collectionName, $options = [] ) | ||
|---|---|---|
| $collectionName | string |
Collection name |
| $options | array |
List of options in format: optionName => optionValue. |
| return | array |
List of indexes info. |
| throws | yii\mongodb\Exception |
on failure. |
Please login to continue.