Create a new array of objects in a aggregate query in Mongodb
I'm running a query on Mongodb to get the combine data from two different collections: User and Store. User collection has a property named as store_ids, which is an array that contains a list of ObjectIds of each store that…