Database / MongoDB Interview questions
How do I achieve primary key - foreign key relationships in MongoDB?
The primary key-foreign key relationship can be achieved by embedding one document inside the another. As an example, a department document can have its employee document(s) embedded.
More Related questions...