MongoDB query using $in with empty specified array
We are using MongoDB for a POC and I am stuck with below problem. We are building a page to show filter options for data. If user selects any filter, then data needs to be filtered as per selection. If…