0
I have two questions about modeling a database
1:
In 1: N, with mongodb, I must save in the child entity the ID of the parent entity object, or the parent entity save an Array with the child Ids?
In Parse-Server I could not make the result back a list with the Ids in the parent table, I found easier the daughter ID and search in the table all the results that have the parent table ID
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.
Right? Can cause errors ? Or performance problems?