Oct 7, 2019 in Big Data | Hadoop
Q:

Does Mongodb Support Foreign Key Constraints?

1 Answer

0 votes
Oct 7, 2019

No. MongoDB does not support such relationships. The database does not apply any constraints to the system (i.e.: foreign key constraints), so there are no "cascading deletes" or "cascading updates". Basically, in a NoSQL database it is up to you to decide how to organise the data and its relations if there are any.

Related questions

0 votes
Aug 26, 2019 in NoSQL
0 votes
Aug 26, 2019 in NoSQL
...