I'm very new to Mongo and I'm trying to understand how exactly I have to lay relations between different tables/collections.
For example the relation between a USER and his POST(S). In SQL I would make two tables and give every post the USERID of the USER.
How would I go about doing this in Mongo? Do I make 2 seperate collections, one for users and one for posts. Or do I embed the posts inside the user collection like this
Thanks!