public dropAllIndexes ( string | array $collection ) | ||
$collection | string | array | name of the collection. |
public function dropAllIndexes($collection)
{
$this->beginProfile($token = " > drop all indexes on " . $this->composeCollectionLogName($collection) . ") ...");
$this->db->getCollection($collection)->dropAllIndexes();
$this->endProfile($token);
}