메소드 | 설명 | |
---|---|---|
__construct ( string $databaseName, string $collectionName, array $indexes ) | Constructs a createIndexes command. | |
execute ( MongoDB\Driver\Server $server ) : string[] | Execute the operation. |
메소드 | 설명 | |
---|---|---|
executeCommand ( MongoDB\Driver\Server $server ) | Create one or more indexes for the collection using the createIndexes command. | |
executeLegacy ( MongoDB\Driver\Server $server ) | Create one or more indexes for the collection by inserting into the "system.indexes" collection (MongoDB <2.6). |
public execute ( MongoDB\Driver\Server $server ) : string[] | ||
$server | MongoDB\Driver\Server | |
리턴 | string[] | The names of the created indexes |