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