MongoDB
PHP Manual

MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection

Описание

public array MongoDB::dropCollection ( mixed $coll )

Список параметров

coll

MongoCollection or name of collection to drop.

Возвращаемые значения

Returns the database response.


MongoDB
PHP Manual