What is the difference between reference collections in mongoose and relational table in MySQL?

Viewed 19

In mongoose, I can create the reference to another collection in MongoDB or Mongoose. Is this reference similar to the relational table in MySQL? Is there anything technical difference? MongoDB is known as a non-relational database. So, why we don't put all data in the same table instead of reference?

0 Answers
Related