Closed
Description
Thomas Darimont opened DATAMONGO-759 and commented
If no fields are given as the group keys the group id is incorrectly rendered as ```
_id: {}
As a fix we should emit ```
_id: null
``` if no fields are given as the group key
Reference URL: http://stackoverflow.com/questions/18749596/how-to-convert-this-query-using-spring-mongodb-aggregation-apis
Backported to: 1.3.2 (Babbage SR1)