Database
db={Recipes:[{"RecipeID":"000","recipeName":"Ramen","IngredientIds":[101,103]},{"RecipeID":"001","recipeName":"FireNoodle","IngredientIds":[102,103]}],Ingredients:[{"IngredientId":101,"MoreData":{"Details":"This is details for 101"}},{"IngredientId":102,"MoreData":{"Details":"This is details for 102"}},{"IngredientId":103,"MoreData":{"Details":"This is details for 103"}}]}
Query
db.Recipes.aggregate([{$match:{"RecipeID":"000"}},{"$lookup":{"from":"Ingredients","let":{ingredientIds:"$IngredientIds"},"pipeline":[{$match:{$expr:{$in:["$IngredientId","$$ingredientIds"]}}},{$project:{_id:0}}],"as":"IngredientIds"}},{$project:{_id:0}}])