dropCollection() public method
Generates drop collection command.
https://docs.mongodb.com/manual/reference/method/db.collection.drop/
public array dropCollection ( $collectionName ) | ||
---|---|---|
$collectionName | string |
Name of the collection to be dropped. |
return | array |
Command document. |
Please login to continue.