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? Write it's syntax



How do I drop a collection in mongodb? Write it's syntax..

Answer / Ashish Gupta

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

What is the basic syntax to use index in mongodb?

1 Answers  


In mongodb, how sharding and replication work together?

1 Answers  


How much is mongodb enterprise?

1 Answers  


What is mongodb and how it works? Explain

1 Answers  


Where is the mongodb data stored?

1 Answers  


What is the syntax of update document?

1 Answers  


What port does mongodb use?

1 Answers  


How to configure the cache size for wiredtiger in mongodb?

1 Answers  


Is mongodb a nosql database? Explain.

1 Answers  


What is storage encryption?

1 Answers  


How does sharding work with replication?

1 Answers  


Is mongodb good for large data?

1 Answers  


Categories