Annotation Interface MongoUpdateOptions
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,METHOD,TYPE})
@Documented
@Inherited
public @interface MongoUpdateOptions
Defines a custom MongoDB update query options.
- Since:
- 3.3.0
- Author:
- Denis Stepanov
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionString[]
The array filters.boolean
The bypassDocumentValidation.The hint.boolean
The upsert.
-
Element Details
-
upsert
boolean upsertThe upsert.- Returns:
- The upsert value
- Default:
- false
-
bypassDocumentValidation
boolean bypassDocumentValidationThe bypassDocumentValidation.- Returns:
- The bypassDocumentValidation value
- Default:
- false
-
hint
String hintThe hint.- Returns:
- The hint value
- Default:
- ""
-
arrayFilters
String[] arrayFiltersThe array filters.- Returns:
- The array filters
- Since:
- 4.2.0
- Default:
- {}
-