MongoCollection
PHP Manual

MongoCollection::drop

(PECL mongo >=0.9.0)

MongoCollection::dropDrops this collection

Описание

public array MongoCollection::drop ( void )

Drops this collection and deletes its indices.

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

This function has no parameters.

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

Returns the database response.


MongoCollection
PHP Manual