0 votes
1 view
in SQL by (20.3k points)

enter image description here

How do I design a scheme such as this in MongoDB? I think there are no foreign keys!

1 Answer

0 votes
by (95.3k points)

With the help of Object Ids that are by default assigned to each and every document inside the MongoDB database, you can correlate your documents that are present inside your collection. Mongoid will help you in providing the functions that help in co-relating the documents. 

Related questions

0 votes
2 answers
asked Sep 4, 2019 in SQL by Sammy (47.8k points)
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Sep 4, 2019 in SQL by Sammy (47.8k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...