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