I've come across three different ways of "joining" collections:
- Manually keep a "foreign-key-esk" reference to the collection you wish to join with your target collection
- Use DBRefs
- Write a series of Map/Reduce functions to maintain the relationship
Can someone explain the benefits of and when I should each one?
My first impression is that Map/Reduce is for large, frequently used sets and the other two are mainly meant for small/fast queries.