I have very interested in using MongoDB it seems awesome. But I’m from a totally different school : relational databases.
So now I’m wondering how would this case works with MongoDB:
Say, I have a table filled with brands and I have another table filled with products.
Each products will have a brand. This is very simple to understand but I still don’t get how would this works with MongoDB?
I mean, would I have to repeat the brand each time I add a product? Can I do some kind of relations?
Thanks for enlightening me 🙂
Preparation:
c:\data\db\(the default dir, don’t care much about it now)Brands:
Products:
Querying:
// I just learned this (incl. downloading etc) almost before the first answer was posted from tutorial and manual in general. Nice experience 🙂