Javascript – How to Filter MongoDB Data Based on Array Values?
I have a document in a collection which have values in array. { "name": "ABC", "details": [ {"color": "red", "price": 20000}, {"color": "black", "price": 22000}, {"color": "blue", "price": 21000} ] }, { "name": "XYZ", "details": [ {"color": "yellow", "price": 10000},…