Метод | Описание | |
---|---|---|
__construct ( string $databaseName, string $collectionName, array $options = [] ) | Constructs a listIndexes command. | |
execute ( MongoDB\Driver\Server $server ) : Phalcon\Db\Adapter\MongoDB\Model\IndexInfoIterator | Execute the operation. |
Метод | Описание | |
---|---|---|
executeCommand ( MongoDB\Driver\Server $server ) : |
Returns information for all indexes for this collection using the listIndexes command. | |
executeLegacy ( MongoDB\Driver\Server $server ) : |
Returns information for all indexes for this collection by querying the "system.indexes" collection (MongoDB <3.0). |
public execute ( MongoDB\Driver\Server $server ) : Phalcon\Db\Adapter\MongoDB\Model\IndexInfoIterator | ||
$server | MongoDB\Driver\Server | |
Результат | Phalcon\Db\Adapter\MongoDB\Model\IndexInfoIterator |