-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add support of $min and $max update operators #353
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
Conversation
It's a very simple commit. Please let me know does it conform you needs |
Thanks @odiszapc for the PR. Would you mind adding some tests and creating a Jira ticket at https://jira.spring.io/browse/DATAMONGO? Can you please sign, if you haven't done already, the CLA form for |
Sure, @mp911de |
Add tests for $max/$min functionality
@mp911de Added few tests to Update class |
Great, I'll take it from here on. |
@mp911de Offtop: what's CLA Number for? Where should I use it and how? |
A Contributor License Agreement (CLA) defines the terms under which intellectual property has been contributed to a company/project. With the ICLA (individual contributor) number we keep track that you allowed us to include your contibution. We usually include it in your commit message. You can read more here about CLA. |
Original pull request: #353. CLA: 169820160330091912 (Alexey Plotnik)
Add author tags. Update license headers. Reformat code. Replace FQCN with import and simple class name. Remove final keyword in test methods. Original pull request: #353.
I pushed your code on our issue/DATAMONGO-1404 branch as we're about to release Hopper GA in the next day. I need to check with the team whether this change will be included into Hopper GA or the next release after Hopper. Thanks for the great work. |
Thank you, Mark! |
Original pull request: #353. CLA: 169820160330091912 (Alexey Plotnik)
Add author and since tags. Update license headers. Reformat code. Replace FQCN with import and simple class name. Remove final keyword in test methods. Update documentation. Original pull request: #353.
There's an older ticket DATAMONGO-941 which I oversaw, need to revisit this topic. Sorry for the noise. |
Original pull request: #353. CLA: 169820160330091912 (Alexey Plotnik)
Add author and since tags. Update license headers. Reformat code. Replace FQCN with import and simple class name. Remove final keyword in test methods. Add tests for numeric values. Update documentation. Original pull request: #353.
…resentation. Related pull request: #353 Related ticket: DATAMONGO-1412
Original pull request: #353. CLA: 169820160330091912 (Alexey Plotnik)
Add author and since tags. Update license headers. Reformat code. Replace FQCN with import and simple class name. Remove final keyword in test methods. Add tests for numeric values. Update documentation. Original pull request: #353.
…resentation. Original Pull Request: #359 Related pull request: #353 Related ticket: DATAMONGO-1404
…resentation. Original Pull Request: #359 Related pull request: #353 Related ticket: DATAMONGO-1404
…resentation. Original Pull Request: #359 Related pull request: #353 Related ticket: DATAMONGO-1404
Original pull request: #353. CLA: 169820160330091912 (Alexey Plotnik)
Add author and since tags. Update license headers. Reformat code. Replace FQCN with import and simple class name. Remove final keyword in test methods. Add tests for numeric values. Update documentation. Original pull request: #353.
Add author and since tags. Update license headers. Reformat code. Replace FQCN with import and simple class name. Remove final keyword in test methods. Add tests for numeric values. Update documentation. Original pull request: #353.
…resentation. Original Pull Request: #359 Related pull request: #353 Related ticket: DATAMONGO-1404
For some reason
$min
and$max
are not yet supported. Diff adds two methods into theorg.springframework.data.mongodb.core.query.Update
class. Diff speaks for itslef and works pretty well for me.