Mongodb – Query to return documents with similar fields
Currently, I have these MongoDB documents: { "_id" : ObjectId("someId1"), "employeeId": 1, "vehicleName": "accord" }, { "_id" : ObjectId("someId12"), "employeeId": 1, "vehicleName": "camry" }, { "_id" : ObjectId("someId3"), "employeeId": 2, "vehicleName": "civic" }, { "_id" : ObjectId("someId4"), "employeeId": 2, "motorcycleName":…