Skip to content

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