Skip to content

Render group operation without non synthetic fields correctly. [DATAMONGO-759] #1658

Closed
@spring-projects-issues

Description

@spring-projects-issues

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)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions