in Big Data | Hadoop by

Does Mongodb Support Foreign Key Constraints?

1 Answer

0 votes
by

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
asked Aug 26, 2019 in NoSQL by Venkatshastri
0 votes
asked Aug 26, 2019 in NoSQL by Venkatshastri
0 votes
asked Aug 26, 2019 in NoSQL by Venkatshastri
...