MongoDB – How to aggregate collection sub-array objects with its actual object from the other collection
How to aggregate collection sub-array objects with their actual object which is present in the other collection? Ex: This is how my collections look like Collection 1 - (Teams) const Teams = [ { _id: '60f3b0b3f0b9a1b0b4f9b1a1', teamName: 'World XI A',…