Can you achieve primary key - foreign key relationships in mongodb?



Can you achieve primary key - foreign key relationships in mongodb?..

Answer / Peetam Singh

Although MongoDB does not support traditional relational database concepts like foreign keys and joins, it can still enforce relationships through embedding or referencing.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MongoDB Interview Questions

What is mongoose odm?

1 Answers  


Is mongodb support relationship?

1 Answers  


Why would you choose mongodb?

1 Answers  


Is mongodb faster than sql?

1 Answers  


What is the difference between mongodb and mongoose?

1 Answers  


Which are the storage engines used by mongodb?

1 Answers  


Can I use sql in mongodb?

1 Answers  


Why is mongodb used?

1 Answers  


Where is mongodb data stored mac?

1 Answers  


How can you take database backup in mongodb?

1 Answers  


What are the different types of nosql databases? Give some example.

1 Answers  


How to retrieve data from multiple collections in mongodb?

1 Answers  


Categories