Please wait while we load your page...
 

Announcements

PHP Manual :: MongoDB::dropCollection



MongoDB::drop || MongoDB::execute || MongoDB || PHP Manual

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection [deprecated]

Description

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

Use MongoCollection::drop() instead.

This function leaks memory in version 1.0.7 and earlier!

Parameters

coll

MongoCollection or name of collection to drop.

Return Values

Returns the database response.



MongoDB::drop || MongoDB::execute || MongoDB || PHP Manual
Live Chat Not Available