MongoDB
PHP Manual

MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection [deprecated]

Descrizione

public array MongoDB::dropCollection ( mixed $coll )
Avviso

Deprecated

Use MongoCollection::drop() instead.

This function leaks memory in version 1.0.7 and earlier!

Elenco dei parametri

coll

MongoCollection or name of collection to drop.

Valori restituiti

Returns the database response.


MongoDB
PHP Manual