public function dropCollection($collectionName)
    {
        $this->document = $this->db->getQueryBuilder()->dropCollection($collectionName);

        $result = current($this->execute()->toArray());
        return $result['ok'] > 0;
    }
public function dropCollection($collectionName)
    {
        $this->document = $this->db->getQueryBuilder()->dropCollection($collectionName);

        $result = current($this->execute()->toArray());
        return $result['ok'] > 0;
    }
public function dropCollection ( $ collectionName ) { $ this -> document = $ this -> db -> getQueryBuilder ( ) -> dropCollection ( $ collectionName ) ; $ result = current ( $ this -> execute ( ) -> toArray ( ) ) ; return $ result [ 'ok' ] > 0 ; }
Drops specified collection.
@param string $collectionName name of the collection to be dropped.
@return bool whether operation was successful.
Drops specified collection .