yii\mongodb\Collection::listIndexes PHP Метод

listIndexes() публичный Метод

Returns the list of defined indexes.
С версии: 2.1
public listIndexes ( array $options = [] ) : array
$options array list of options in format: optionName => optionValue.
Результат array list of indexes info.
    public function listIndexes($options = [])
    {
        return $this->database->createCommand()->listIndexes($this->name, $options);
    }