drop
Removes an entire collection from the database.
All documents within the collection are deleted.
Indexes attached to this collection are also deleted.
Example
collection.drop()Content copied to clipboard
Removes an entire collection from the database.
All documents within the collection are deleted.
Indexes attached to this collection are also deleted.
collection.drop()