MongoDB aggregate result with two different keys
问题 I have recently put this question that helped me to obtain an array for obtaining a result in an aggregation mongoDB query ( MongoDB Aggregate Array with Two Fields ) My problem right now is to obtain combine two different keys. I have a products collection with general products on it: { "_id" : ObjectId("554b9f223d77c810e8915539"), "brand" : "Airtex", "product" : "E7113M", "type" : "Fuel Pump", "warehouse_sku" : [ "1_5551536f3d77c870fc388a04", "2_55515e163d77c870fc38b00a" ] } And I have the