|
|
|
|
|
by jonperl
4309 days ago
|
|
Joins are a really hard problem, many people have tried to support joins with a package but they all miss a corner case or have less-than-ideal performance. I think it is something we will have to wait for meteor core to support. https://trello.com/c/BGvIwkEa/48-easy-joins-in-subscriptions In the meantime I have been using the publish-composite package and denormalizing data that has a lot of reads in an update hook using the collection hooks package. In mongo ideally you should have rich documents and not spread out relations among too many collections. However I can imagine how hard it would be to try and sync w/ a relational database without native join support. |
|