MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection [deprecated]

Опис

public array MongoDB::dropCollection ( mixed $coll )
Увага

Deprecated

Use MongoCollection::drop() instead.

This function leaks memory in version 1.0.7 and earlier!

Параметри

coll

MongoCollection or name of collection to drop.

Значення, що повертаються

Returns the database response.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top