📅  最后修改于: 2022-03-11 14:57:47.332000             🧑  作者: Mango
No, mongo dB doesn't support foreign key, primary key relationship.
Mongodb is not build on ACID properties but CAP theorem.
Also mongodb encourages to put relevant data into single collection rather than putting into multiple collections and then map those multiple collections by foreign key relationships.