MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection [deprecated]

Beschreibung

public MongoDB::dropCollection ( mixed $coll ) : array
Warnung

Deprecated

Use MongoCollection::drop() instead.

This function leaks memory in version 1.0.7 and earlier!

Parameter-Liste

coll

MongoCollection or name of collection to drop.

Rückgabewerte

Returns the database response.