public function dropIndex($collection, $indexName, array $options = [])
    {
        $col = $this->db->selectCollection($collection);

        return $col->dropIndex($indexName, $options);
    }
public function dropIndex($collection, $indexName, array $options = [])
    {
        $col = $this->db->selectCollection($collection);

        return $col->dropIndex($indexName, $options);
    }
public function dropIndex ( $ collection , $ indexName , array $ options = [ ] ) { $ col = $ this -> db -> selectCollection ( $ collection ) ; return $ col -> dropIndex ( $ indexName , $ options ) ; }
Drop a index.

@param $collection
@param $indexName
@param array $options
@return array|object
Drop a index .