MongoDB
PHP Manual

MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection

Opis

public array MongoDB::dropCollection ( mixed $coll )

Parametry

coll

MongoCollection or name of collection to drop.

Zwracane wartoĊ›ci

Returns the database response.


MongoDB
PHP Manual