MongoDB
PHP Manual

MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection

Beschreibung

public array MongoDB::dropCollection ( mixed $coll )

Parameter-Liste

coll

MongoCollection or name of collection to drop.

Rückgabewerte

Returns the database response.


MongoDB
PHP Manual