Oct 12, 2019 in Big Data | Hadoop
Q: How can you achieve primary key - foreign key relationships in MongoDB?

1 Answer

0 votes
Oct 12, 2019

By default MongoDB does not support such primary key - foreign key relationships. However, we can achieve this concept by embedding one document inside another. Foe e.g. an address document can be embedded inside customer document.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
Oct 12, 2019 in Big Data | Hadoop
...