MongoDB: Aggregation/Grouping for poll votes
Am trying to create a poll results aggregation I have two collections poll - here is one document { "_id": { "$oid": "636027704f7a15587ef74f26" }, "question": "question 1", "ended": false, "options": [ { "id": "1", "option": "option 1" }, { "id":…