Skip to content

Add support for $cmp in group or project aggregation [DATAMONGO-784] #1711

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Oct 24, 2013 · 2 comments
Assignees
Labels
in: aggregation-framework Aggregation framework support type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link

Vikas Garg opened DATAMONGO-784 and commented

Currently there is no support to have $cmp / $eq / $ne to be used in group or project aggregation. It would be a good to have feature. Also it would be helpful to improve on some of the documentation/examples for Criteria features


Referenced from: pull request #414

Backported to: 1.10 RC1 (Ingalls)

5 votes, 7 watchers

@spring-projects-issues
Copy link
Author

Sergey Shcherbakov commented

What about complex expressions (like $cmp, $cond) in the $sum operation?
The pull request seems to enhance projections only

@spring-projects-issues
Copy link
Author

Sergey Shcherbakov commented

Submitted a PR for this
#501
It would be great it could be ported to the Spring Framework 4.0 1.10.x branch as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: aggregation-framework Aggregation framework support type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants