How can mongo’s group output all the values like MySQL’s
With aggreat*, and $group inside
_id field to write what you want to group
How can mongo’s group output all the values like MySQL’s
With aggreat*, and $group inside
_id field to write what you want to group