Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [MongoDB

Protect Your Website Today


PHP Manual || MongoDB

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection [deprecated]

Description

public MongoDB::dropCollection ( mixed $coll ) : array
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.



PHP Manual || MongoDB