Mongodb – How to combine $facet result into the desired structure
I need to get two different sets of data from the same collection and if any data in any set has convergence with another data in other set combine them into one and if not convert them to a desired…