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?
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?