Mongo Aggregation question

Then, take

and use teamId instead of team as foreignField.

And please read Formatting code and log snippets in posts

1 Like