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.

Параметри

Тази функция няма параметри.

Връщани стойности

Returns the database response.


MongoCollection
PHP Manual