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

Is mongodb stitch free?

1 Answers  


How did mongodb get its name?

0 Answers  


Is mongodb a database?

1 Answers  


Is it possible to remove old files in the movechunk directory?

1 Answers  


Is mongodb free for commercial?

1 Answers  


What is replica set in mongodb? Explain

1 Answers  


Why should I use mongodb?

1 Answers  


What is metadata in mongodb?

1 Answers  


How to install mongodb on our machine?

1 Answers  


How to convert string to objectid in mongoose?

1 Answers  


What is a table called in mongodb?

1 Answers  


Is mongodb support replication?

1 Answers  


Categories