the only problem this aggregate has it doesn’t copy the old values if you can add that to this query it is also fine with me. it gives me the single document which has the array and id but i have other fields in the previous document from which we use $unwind thanks
1 Like