I have two questions on how to model a mongo database
Home
1:
In 1: N, with mongodb, should I save in the child entity the ID of the parent entity object, or the parent entity save an Array with the child IDs?
In the Parse-Server I could not make the result return a list with the IDs in the parent table, I found the ID of the daughter easier and search the table for all results that have the ID of the parent table
2:
I read about Many-to-many in Mongo, but in my db I did as SQL, I have a third table that stores the ID from the two tables.
Home
That's right? Can it cause errors? Or performance issues?