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);
    }