Support hints on Update.
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
This commit is contained in:
committed by
Mark Paluch
parent
0020499d4e
commit
cd63501680
@@ -922,6 +922,7 @@ Most methods return the `Update` object to provide a fluent style for the API.
|
||||
* *updateMulti*: Updates all objects that match the query document criteria with the updated document.
|
||||
|
||||
WARNING: `updateFirst` does not support ordering. Please use <<mongo-template.find-and-upsert, findAndModify>> to apply `Sort`.
|
||||
NOTE: Index hints for the update operation can be provided via `Query.withHint(...)`.
|
||||
|
||||
[[mongodb-template-update.update]]
|
||||
==== Methods in the `Update` Class
|
||||
|
||||
Reference in New Issue
Block a user