Skip to content

Support hints on Update. #4311

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
wants to merge 2 commits into from
Closed

Support hints on Update. #4311

wants to merge 2 commits into from

Conversation

christophstrobl
Copy link
Member

This PR makes sure to read Query hints and apply them to the MongoDB UpdateOptions when running an _update _via Reactive-/MongoTemplate.

Closes: #3218

This commit makes sure to read query hints and apply them to the MongoDB UpdateOptions when running an update via Reactive-/MongoTemplate.

Closes: #3218
@christophstrobl christophstrobl changed the title Issue/3218 Support hints on Update. Mar 2, 2023
mp911de pushed a commit that referenced this pull request Mar 6, 2023
This commit makes sure to read query hints and apply them to the MongoDB UpdateOptions when running an update via Reactive-/MongoTemplate.

Original pull request: #4311
Closes: #3218
mp911de added a commit that referenced this pull request Mar 6, 2023
Introduce isEmpty method for HintFunction for easier invocation avoiding negations on the call site.

See #3218
Original pull request: #4311
@mp911de
Copy link
Member

mp911de commented Mar 6, 2023

That's merged and polished now.

@mp911de mp911de closed this Mar 6, 2023
@mp911de mp911de added the type: enhancement A general enhancement label Mar 6, 2023
@mp911de mp911de added this to the 4.1 M3 (2023.0.0) milestone Mar 6, 2023
@mp911de mp911de deleted the issue/3218 branch May 17, 2023 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MongoTemplate should add query hint when executing update [DATAMONGO-2362]
2 participants