Question:

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

Answer:

We can achieve primary key-foreign key relationship by embedding one document inside another. For example: An address document can be embedded inside customer document.


Keywords:

© 2017 QuizBucket.org