public function dropCollection($collection)
    {
        $this->beginProfile($token = "    > drop collection " . $this->composeCollectionLogName($collection) . " ...");
        $this->db->getCollection($collection)->drop();
        $this->endProfile($token);
    }
public function dropCollection($collection)
    {
        $this->beginProfile($token = "    > drop collection " . $this->composeCollectionLogName($collection) . " ...");
        $this->db->getCollection($collection)->drop();
        $this->endProfile($token);
    }
public function dropCollection ( $ collection ) { $ this -> beginProfile ( $ token = "    > drop collection " . $ this -> composeCollectionLogName ( $ collection ) . " ..." ) ; $ this -> db -> getCollection ( $ collection ) -> drop ( ) ; $ this -> endProfile ( $ token ) ; }
Drops existing collection.
@param string|array $collection name of the collection
Drops existing collection .