Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do I drop a collection in mongodb?



How do I drop a collection in mongodb?..

Answer / Yogesh Singh Garbyal

The command to drop a collection in MongoDB is 'db.collectionName.drop()'. Replace 'collectionName' with the name of the collection you want to drop.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Is mongodb for big data?

1 Answers  


Is mongodb a cloud?

1 Answers  


What is the advantage of mongodb?

1 Answers  


Can we use mongodb with java?

1 Answers  


How to list all indexes in mongodb?

1 Answers  


What is the difference between mongodb and mongoose?

1 Answers  


How index is used in mongodb?

1 Answers  


What are journaling in mongodb?

1 Answers  


Can mongodb scale?

1 Answers  


Does mongodb require a schema?

1 Answers  


How do I start a replica set in mongodb?

1 Answers  


How much is mongodb enterprise cost?

1 Answers  


Categories