Module spring.data.mongodb
Interface UpdateDefinition.ArrayFilter
- Enclosing interface:
- UpdateDefinition
public static interface UpdateDefinition.ArrayFilter
A filter to specify which elements to modify in an array field.
- Since:
- 2.2
-
Method Summary
Modifier and TypeMethodDescriptionorg.bson.DocumentGet theDocumentrepresentation of the filter to apply.
-
Method Details
-
asDocument
org.bson.Document asDocument()Get theDocumentrepresentation of the filter to apply. The returnedDocumentis used directly with the driver without further type or field mapping.- Returns:
- never null.
-