matteodem / meteor-easy-search

Easy-to-use search for Meteor with Blaze Components
MIT License
437 stars 68 forks source link

Associated relation #473

Closed frankapimenta closed 8 years ago

frankapimenta commented 8 years ago

I have a collection players which I can search on by name when I list them. I have a collection team. A team has many players. Team collection has field playersIds (array). I would like to look for a player by name within a team (when I list the team players).

How could I configure my TeamIndex to search for players by name on collection Players only for ids in Team collection playersIds array?

matteodem commented 8 years ago

You could either: