Mongodb – How to group all objects in an array that correspond to the same JSON name/value
I have a JSON file that includes data of daily covid cases of all the Canadian provinces(13), and I'm trying to transform the design to load it into MongoDB and get 13 collections of province documents with code and name…