Skip to content
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

Add support for $mul to Update [DATAMONGO-1097] #2014

Closed
spring-projects-issues opened this issue Nov 18, 2014 · 0 comments
Closed

Add support for $mul to Update [DATAMONGO-1097] #2014

spring-projects-issues opened this issue Nov 18, 2014 · 0 comments
Assignees
Labels
in: core type: enhancement

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented Nov 18, 2014

Christoph Strobl opened DATAMONGO-1097 and commented

new Update().multiply("myfield").by(3.14159265F);

should result in

{ $mul: { myfield : 3.14159265 } }

Reference URL: http://docs.mongodb.org/manual/reference/operator/update/mul/

Referenced from: pull request #249

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants