in Big Data | Hadoop by

Does Mongodb Support Foreign Key Constraints?

► Click here to show 1 Answer

0 votes

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.

Learn More with Madanswer

Related questions

0 votes
asked Aug 23, 2019 in NoSQL by Venkatshastri