No. MongoDB doesn't support primary key-foreign key relationship. MongoDB has _id key field for every document that uniquely identifies the particular document.
Does NoSQL support foreign keys?
NoSQL databases do not support foreign keys or joins and do not have the concept of referential integrity. Let's explore different kinds of NoSQL databases and when it's appropriate to use each.
Which engines support foreign key constraints?
MySQL supports foreign keys, which permit cross-referencing related data across tables, and foreign key constraints, which help keep the related data consistent.