xxxxxxxxxx
// Example: Delete a Collection
// Remove an entire collection (table in SQL terms).
db.users.drop((err, result) => {
// Handle error or use result
});
// Example: Delete a Database
// Remove an entire database, including all its collections.
db.dropDatabase((err, result) => {
// Handle error or use result
});