PHP Класс Phalcon\Db\Adapter\MongoDB\Operation\DropIndexes

См. также: MongoDB\Collection::dropIndexes()
См. также: http://docs.mongodb.org/manual/reference/command/dropIndexes/
Наследование: implements Phalcon\Db\Adapter\MongoDB\Operation\Executable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( string $databaseName, string $collectionName, string $indexName, array $options = [] ) Constructs a dropIndexes command.
execute ( MongoDB\Driver\Server $server ) : array | object Execute the operation.

Описание методов

__construct() публичный метод

Supported options: * typeMap (array): Type map for BSON deserialization. This will be used for the returned command result document.
public __construct ( string $databaseName, string $collectionName, string $indexName, array $options = [] )
$databaseName string Database name
$collectionName string Collection name
$indexName string Index name (use "*" to drop all indexes)
$options array Command options

execute() публичный метод

Execute the operation.
См. также: Executable::execute()
public execute ( MongoDB\Driver\Server $server ) : array | object
$server MongoDB\Driver\Server
Результат array | object Command result document