Oct 7, 2019 in Big Data | Hadoop

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.

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