dropIndexes() public method (available since version 2.1)
Drops collection indexes by name.
public void dropIndexes ( $collection, $indexes ) | ||
---|---|---|
$collection | string|array |
Name of the collection |
$indexes | string |
Wildcard for name of the indexes to be dropped. |
Please login to continue.