GoLang MongoDB::dropCollection

request it (77)
GoLang replacement for PHP's MongoDB::dropCollection [edit | history]



Do you know a GoLang replacement for PHP's MongoDB::dropCollection? Write it!

PHP MongoDB::dropCollection

PHP original manual for MongoDB::dropCollection [ show | php.net ]

MongoDB::dropCollection

(PECL mongo >=0.9.0)

MongoDB::dropCollectionDrops a collection [deprecated]

Description

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

Deprecated

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.