Module spring.data.mongodb
Interface ReactiveUpdateOperation.UpdateWithCollection<T>
- All Known Subinterfaces:
ReactiveUpdateOperation.ReactiveUpdate<T>
- Enclosing interface:
- ReactiveUpdateOperation
public static interface ReactiveUpdateOperation.UpdateWithCollection<T>
Explicitly define the name of the collection to perform operation in (optional).
-
Method Summary
Modifier and TypeMethodDescriptioninCollection(String collection) Explicitly set the name of the collection to perform the query on.
-
Method Details
-
inCollection
Explicitly set the name of the collection to perform the query on.
Skip this step to use the default collection derived from the domain type.- Parameters:
collection- must not be null nor empty.- Returns:
- new instance of
ReactiveUpdateOperation.UpdateWithCollection. Never null. - Throws:
IllegalArgumentException- if collection is null or empty.
-