Deletes a collection.
Last updated 2 years ago
Parameter
Description
name
The name of the collection
Returns
Whether the collection was successfully deleted or not
db.deleteCollection('users'); // true