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 create a collection in mongodb?



How do I create a collection in mongodb?..

Answer / Kunal Kumar Arya

In MongoDB, you can create a new collection using the 'db.createCollection' method. Here's an example: db.createCollection('myCollection')

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

How does mongodb provide concurrency?

1 Answers  


Is mongodb a key value store?

1 Answers  


What are different between mongodb and sql server databases?

1 Answers  


What is data model in mongodb?

1 Answers  


Is mongodb better than other sql databases? If yes then how?

1 Answers  


Can mongodb replace oracle?

1 Answers  


How did mongodb get its name?

0 Answers  


How does mongodb sharding work?

1 Answers  


How to create index after every query insert?

1 Answers  


How to convert string to objectid in mongoose?

1 Answers  


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

1 Answers  


What is the term match in mongodb?

1 Answers  


Categories