How to apply condition on $lookup result in mongoDB?
With the reference of my previous question, I have a question about $lookup with add some conditions. You may get enough reference about question from below link description. Photo: {_id: 1, photo_name: '1.jpg', photo_description: 'description 1', album_id: 1, flag:1 }, {_id: 2, photo_name: '2.jpg', photo_description: 'description 2', album_id: 1, flag:1 }, {_id: 3, photo_name: '3.jpg', photo_description: 'description 3', album_id: 1, flag:1 }, {_id: 4, photo_name: '4.jpg', photo_description: 'description 4', album_id: 2, flag:0 }, {_id: 5, photo_name: '5.jpg', photo_description: 'description