MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection [deprecated]

Açıklama

public MongoDB::dropCollection ( mixed $coll ) : array
Uyarı

Deprecated

Use MongoCollection::drop() instead.

This function leaks memory in version 1.0.7 and earlier!

Değiştirgeler

coll

MongoCollection or name of collection to drop.

Dönen Değerler

Returns the database response.