How to unwind a nested array of objects

Hi @skander_lassoued and welcome to the MongoDB community forum!!

To replicate the query in my local environment, it would be very helpful if you could share the following information:

  1. A sample documents from all the relevant collections
  2. MongoDB version

Thanks
Aasawari