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...


What is the master or primary key in mongodb?



What is the master or primary key in mongodb?..

Answer / Vijay Pratap Singh

In MongoDB, there is no strict concept of a master or primary key like in traditional relational databases. Instead, each collection can have one document that serves as the _id field, which uniquely identifies each document within the collection. The _id field can be automatically generated by MongoDB, or it can be manually provided by the user.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

Where is mongodb located?

1 Answers  


If you remove an object attribute, is it deleted from the database?

1 Answers  


Where is mongodb headquarters?

1 Answers  


Mention what is the command syntax for inserting a document?

1 Answers  


Explain the structure of objectid in mongodb.?

1 Answers  


What is “namespace” in mongodb?

1 Answers  


What is mongodb best for?

1 Answers  


Mention the command syntax that is used to view mongo is using the link?

1 Answers  


What happens when a shard is down or slow when querying?

1 Answers  


How to perform transactions/lock in mongodb?

1 Answers  


What is difference between mysql and mongodb?

1 Answers  


Is mongodb free on aws?

1 Answers  


Categories