Phalcon\Db\Adapter\MongoDB\Operation\CreateIndexes::executeCommand PHP Метод

executeCommand() приватный Метод

Create one or more indexes for the collection using the createIndexes command.
private executeCommand ( MongoDB\Driver\Server $server )
$server MongoDB\Driver\Server
    private function executeCommand(Server $server)
    {
        $command = new Command(['createIndexes' => $this->collectionName, 'indexes' => $this->indexes]);
        $server->executeCommand($this->databaseName, $command);
    }